[Extension()] public static HashSet<T> ToHashSetEx<T>( IEnumerable<T> seq )
Parameters
- seq
- An IEnumerable<T> to create an hashset from.
Type Parameters
- T
- The type of the elements of seq.
Return Value
An hashset that contains the elements from the input sequence.