Mid Collections How do you remove duplicates from a List<T>? list = list.Distinct().ToList(); For custom objects, override Equals() and GetHashCode().