Produces the set difference of this and . This method is an optimized version of Enumerable.Except<T>.
Parameters
- seq
- A sequence of elements whose elements that are not also in will be returned.
- hashset
- An hashset of elements whose elements that also occur in will cause those elements to be removed from the returned sequence.
Type Parameters
- T
- The element type of the elements of the hashset and the sequence.
Return Value
A sequence that contains the set difference of the elements of and .
Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed