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, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed