摘要: 如何在C#.NET开发中使用反射。首先,我新建一个普通的类库项目。在该项目的测试类中,定义好 属性、静态方法、实例方法、无参方法等... 代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ReflectorTest{ class Test { private string name; public string Name { get; set; } /// /// 静态方法 /// /// public static string staticM... 阅读全文
posted @ 2013-10-22 15:19 cheng序员 阅读(224) 评论(0) 推荐(0) 编辑