A HashSet is an optimized collection of unordered, unique elements that provides fast lookups and high-performance set operations. The HashSet class was first introduced in .NET 3.5 and is part of the ...
System.Collections.Generic.List<T> and System.Collections.Generic.HashSet<T> both support the IEnumerable<T> extension methods and participate in LINQ queries. HashSet<T> includes methods not included ...