Live2D

lambda 分组后的count

 

 

 var list = stuList.GroupBy(b => b.PersonalId).Select(g => (new { personalId = g.Key, count = g.Count() })).OrderByDescending(t => t.count).ToList();

 

posted @ 2019-09-09 15:28  webmtjj  阅读(2861)  评论(0)    收藏  举报