Sunday, March 29, 2015

Trying to find duplicate scores in a list

Maybe this



var duplicates = string.Join(",",People.GroupBy(s => s).Where(x => x.Count() > 1).Select(y => y.Key).ToArray());





jdweng


No comments:

Post a Comment