IEnumerable.sequenceEqual Method
Determines whether this sequences is equal to another.
Parameters
- second
-
Type: IEnumerable
A sequence to compare with the first.
Return Value
Type: Boolean
True if the sequences contain the same items in the same order; otherwise, false.