SequenceOrder Enum

Definition

Specifies whether sequence elements must appear in the same order, or in any order, when comparing collections with AreSequenceEqual<T>(IEnumerable<T>, IEnumerable<T>, SequenceOrder, String, String, String).

public enum SequenceOrder
type SequenceOrder = 
Public Enum SequenceOrder
Inheritance
SequenceOrder

Fields

Name Value Description
InOrder 0

Elements must appear in the same order in both sequences (LINQ SequenceEqual<TSource>(IEnumerable<TSource>, IEnumerable<TSource>) semantics).

InAnyOrder 1

Elements may appear in any order, but each element must appear the same number of times in both sequences (multiset equality).

Applies to