T
Any type.
Platform Core .NET Assemblies API
Except<T> Method
See Also  Send Feedback
Terrasoft.Common Namespace > CollectionUtilities Class : Except<T> Method
source
First sequence.
secondSource
Second sequence.
comparer
Function that compares the items of the sequences.

Glossary Item Box

Gets enumerator of items of the source sequence that are not present in the secondSource sequence, using the comparer predicate to determine equality.

Syntax

 
C#
 
 

Parameters

source
First sequence.
secondSource
Second sequence.
comparer
Function that compares the items of the sequences.

Type Parameters

T
Any type.

Return Value

The enumerator that contains items from the first sequence that are absent from the second sequence.

Exceptions

ExceptionDescription
ArgumentNullOrEmptyExceptionIf the source or secondSource argument is equal to null.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.