摘要: var alist3 = alist.GroupBy(a => new { a.name, a.a }).Select(a => new { a.Key.name, a = a.Sum(p => p.a), s = a.Sum(p => a.Key.a) }); class A { public s 阅读全文
posted @ 2019-01-28 17:00 ~雨落忧伤~ 阅读(99) 评论(0) 推荐(0) 编辑