何瑶龙

导航

2016年12月22日 #

利用反射机制获取属性的值遇到的坑

摘要: 类: public Class Test { public string name; public string value; } Test t=new Test(); t.name="abc"; t.value="123"; string str=(string)t.GetType().GetPr 阅读全文

posted @ 2016-12-22 16:56 何瑶龙 阅读(291) 评论(0) 推荐(0) 编辑