 | ExtensionMethodsSequenceEqualT Method |
Determines whether two lists are equal by comparing their elements.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool SequenceEqual<T>(
IList<T> a,
IList<T> b
)
Public Shared Function SequenceEqual(Of T) (
a As IList(Of T),
b As IList(Of T)
) As Boolean
Parameters
- a
- Type: System.Collections.GenericIListT
The first list. - b
- Type: System.Collections.GenericIListT
The second list.
Type Parameters
- T
- The type of the items in the lists.
Return Value
Type:
BooleanTrue if the two lists contain the same elements in the
same order; otherwise
false.
See Also