[Extension()] public static IEnumerable<T> Intersect<T>( HashSet<T> hashset, IEnumerable<T> seq )
Parameters
- hashset
 - An hashset of elements whose distinct elements that also appear in seq will be returned.
 - seq
 - A sequence of elements whose distinct elements that also appear in hashset will be returned.
 
Type Parameters
- T
 - The code element type of the elements of the hashset and the sequence.
 
Return Value
A sequence that contains the elements that form the set intersection of the hashset and the sequence.
