var itemCounts = list.GroupBy(l => l)
.Select(g => new { key = g.Key, count = g.Count()});
3
solved I want count uniques along with value in array? [duplicate]
var itemCounts = list.GroupBy(l => l)
.Select(g => new { key = g.Key, count = g.Count()});
3
solved I want count uniques along with value in array? [duplicate]