Enumerable.SequenceEqual Method

Determines whether two sequences are equal according to an equality comparer.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type.
Public method Static member SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparer<T>.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft