摘要:
public class A { public int Property1 { get; set; } }static void Main(){ A aa = new A(); Type type = aa.GetType();//获取类型 System.Reflection.PropertyInfo propertyInfo = type.GetProperty("Property1"); propertyInfo.SetValue(aa, 5, null... 阅读全文
posted @ 2013-06-05 02:12
天使半只翼
阅读(19237)
评论(1)
推荐(1)
浙公网安备 33010602011771号