摘要:
首先给要创建的类增加构造函数 namespace ReflectionBLL { public class Person { private int _Id; private string _Name; private int _Age; public Person() { Console.Writ 阅读全文
摘要:
我们通常 都是用反射来操作指定的程序集(dll,exe)、 需要引用 System.Reflection 有三种加载方式 Assembly assembly = Assembly.Load("ReflectionBLL");//dll的强名称(包括名称,版本,语言,公钥标记),比如(System.S 阅读全文