摘要:
反射 Reflection 中访问方法新建一个ClassLibrary类库: public class Student { public string Name { get; set; } public string School ... 阅读全文
posted @ 2014-05-08 16:49
loong618
阅读(275)
评论(0)
推荐(0)
摘要:
Reflection 反射需要引用using System.Reflection; 命名空间。 通过Assembly 类的 Load( ); 加载指定的 程序集 Assembly 是不能被实例化, 所以能通过调用静态方法Load();加载指定程序集。 通过GetType()RefLiuyl... 阅读全文
posted @ 2014-05-08 15:11
loong618
阅读(507)
评论(0)
推荐(0)