c# lists is stroing the same elements again 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);