摘要: C# 中,get type 有三中方式,1.typeof 这是强类型的,在编译时,就可以检查,所以一定没问题,但是,这里就必须强引用了2.Type.GetType("") 这个比较麻烦,因为,只能在当前程序集当中搜索,如果夸程序集了,是不是就有问题了啊? (待验证)3. Assembly asm = Assembly.Load(""); asm.GetType(""); 这种方式,可以夸程序集; 阅读全文
posted @ 2013-01-14 13:11 姜大伟 阅读(1025) 评论(0) 推荐(0) 编辑