StyleListBaseTAreListsStructuralEquivalent Method |
Determines whether two lists are structurally equivalent.
Namespace: Altaxo.DrawingAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static bool AreListsStructuralEquivalent(
IReadOnlyList<T> l1,
IReadOnlyList<T> l2
)
Parameters
- l1 IReadOnlyListT
- The first list.
- l2 IReadOnlyListT
- The second list.
Return Value
Booleantrue if both lists contain equal items in the same order; otherwise,
false.
See Also