标签:
1 var c = from e in list 2 select new 3 { 4 e.PROPERTY, 5 Property3 = e.PROPERTY2, //新属性 6 Property4 = new {e.PROPERTY,e.PROPERTY2 } //子对象 7 };
Linq之Select
原文地址:http://www.cnblogs.com/JJ.Net/p/4308988.html