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