Ejemplo n.º 1
0
 /// <summary>
 /// Checks if given lists are equal.
 /// Lists are considered equal if they contain the same elements in the same order.
 /// </summary>
 /// <param name="sequence1">The first list.</param>
 /// <param name="sequence2">The second list.</param>
 /// <returns><see langword="true"/> if the lists are equal, <see langword="false"/> otherwise.</returns>
 public bool SequencesAreEqual(TList sequence1, TList sequence2) => ListComparer <TElement> .EqualLists(sequence1, sequence2);