This documentation is archived and is not being maintained.

Enumerable.Except Method

Produces the set difference of two sequences. The set difference is the members of the first sequence that don't appear in the second sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) Produces the set difference of two sequences by using the default equality comparer to compare values.
Public method Static member Except<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values.
Top
Show: