find duplicate values to single in a string c# 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);