TestUtilitiesSequenceEqualT Method |
Returns true if both sequences are null or if the LINQ SequenceEqual method returns true for them, otherwise returns false.
Namespace: Test.FrameworkAssembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static bool SequenceEqual<T>(
IEnumerable<T> lhs,
IEnumerable<T> rhs
)
Public Shared Function SequenceEqual(Of T) (
lhs As IEnumerable(Of T),
rhs As IEnumerable(Of T)
) As Boolean
public:
generic<typename T>
static bool SequenceEqual(
IEnumerable<T>^ lhs,
IEnumerable<T>^ rhs
)
static member SequenceEqual :
lhs : IEnumerable<'T> *
rhs : IEnumerable<'T> -> bool
Parameters
- lhs
- Type: System.Collections.GenericIEnumerableT
- rhs
- Type: System.Collections.GenericIEnumerableT
Type Parameters
- T
Return Value
Type:
BooleanSee Also