摘要: 一.动态创建对象构造函数无参数构造对象class MyClass { privatestring _name; publicstring Name { get { return _name; } set { _name = value; } } } class Program { staticvoid Main(string[] args) { Assembly myass = Assembly.GetExecutingAssembly();//获取程序集 MyClass my = myass.CreateInstance("ConsoleApplication7.MyClass&q 阅读全文
posted @ 2013-07-04 11:09 hometown 阅读(129) 评论(0) 推荐(0) 编辑