Get duplicates from a list of String

list_str_RouteName.GroupBy(Function (x) x).Where(Function (x) x.Count > 1).Select(Function (x) x.First()).toList

2 Likes