[Extension()] public static IEnumerable<T> Intersect<T>( IEnumerable<T> seq, HashSet<T> hashset )
Parameters
- seq
 - A sequence of elements whose distinct elements that also appear in hashset will be returned.
 - hashset
 - An hashset of elements whose distinct elements that also appear in seq 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.
