c# find duplicates in char lists code example
Example: c# find duplicates in list of strings
var list = new List<string>();
list.GroupBy(n => n).Any(c => c.Count() > 1);
var list = new List<string>();
list.GroupBy(n => n).Any(c => c.Count() > 1);