-
Notifications
You must be signed in to change notification settings - Fork 26
SequenceEqual
Eugene Sadovoi edited this page Jul 7, 2016
·
1 revision
Determines whether two sequences are equal by comparing their elements by using a specified comparer.
SequenceEqual(second[, comparer])
An Iterable to compare to the source sequence.
A function to use to compare elements: Boolean comparer(first, second)
true if the two source sequences are of equal length and their corresponding elements compare equal according to comparer; otherwise, false.
The SequenceEqual method enumerates the two source sequences in parallel and compares corresponding elements by using the specified comparer. If comparer is not defined, the default equality comparer is used to compare elements.