SequenceEqualityComparer.equals Method

Compares the items of two sequences for equality.
 

Parameters

a

Type: IEnumerable
First sequence to compare.
b

Type: IEnumerable
Second sequence to compare.

Return Value


Type: Boolean
True if the sequences contain the same items in the same order; otherwise, false.