 | ObjectXAreStructSequencesEqualT Method |
Determine if the two specified sequences are equal.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static bool AreStructSequencesEqual<T>(
IList<T> list1,
IList<T> list2
)
where T : struct, new(), IEquatable<T>
Parameters
- list1
- Type: System.Collections.GenericIListT
List1. - list2
- Type: System.Collections.GenericIListT
List2.
Type Parameters
- T
- The element type.
Return Value
Type:
Boolean if the two lists contain equal elements or are both
;
otherwise,
.
Remarks
Use this method when comparing list fields on two instances inside of IEquatable<T>.Equals().
See Also