标签:select count desc span sel nbsp group pre des
list.GroupBy(p => p.desc) .Select(group => new { desc = group.Key, count = group.Count() }) .ToList();
Linq 记录
原文地址:https://www.cnblogs.com/JoanLin-workNotes/p/11192472.html