摘要: 例如: var sums = modellist .GroupBy(x => x.userId) .Select(group => new { Peo = group.Key, fist = group.First() }).ToList(); 解析: GroupBy后面用Select; 则:循环每 阅读全文
posted @ 2016-05-03 15:57 Coding_Yong 阅读(157) 评论(0) 推荐(0) 编辑