SequenceEqual Method

Enumerable.SequenceEqual Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

  NameDescription
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

Show:
© 2016 Microsoft