 | CollectionExtensionsAreSequencesEqualT Method |
Checks whether the sequences are equal.
Namespace:
Gamelogic.Extensions.Algorithms
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax[VersionAttribute(1, 3, 0)]
public static bool AreSequencesEqual<T>(
IEnumerable<T> s1,
IEnumerable<T> s2
)
where T : IComparable
Parameters
- s1
- Type: System.Collections.GenericIEnumerableT
- s2
- Type: System.Collections.GenericIEnumerableT
Type Parameters
- T
Return Value
Type:
Booleantrue if the number of elements in the sequences are equal,
and all the elements compared item by item are equal (using the CompareTo method),
false otherwise.
See Also