摘要: https://blog.csdn.net/letianok/article/details/7257117 1、GetType()方法继承自Object,所以C#中任何对象都具有GetType()方法,x.GetType(),其中x为变量名; 2、typeof(x)中的x,必须是具体的类名、类型名 阅读全文
posted @ 2020-05-27 10:36 kuaqi 阅读(171) 评论(0) 推荐(0) 编辑