2017年5月11日

List<匿名类> 访问属性

摘要: List list = new List(); list.Add(new { test1=1, test2=2,test3=3}); foreach (var item in list) { PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(item); PropertyDescriptor ite... 阅读全文

posted @ 2017-05-11 17:24 Frank- 阅读(2191) 评论(0) 推荐(0) 编辑

导航