C#
Parameters
- source
- First sequence.
- secondSource
- Second sequence.
- comparePredicate
- Function that compares the corresponding items of the sequences.
Type Parameters
- TFirst
- Type of elements of the first inbound sequence.
- TSecond
- Type of elements of the second inbound sequence.
Return Value
true
, if all items are equal or false
on the first mismatch.If the collections have different number of items in them, the number of comparisons will be equal to the number of items in the lesser collection.
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