Utility.AreEqual (IList, IList) Method

Checks if two generic lists contain the same elements.
Public Shared Function AreEqual( _ 
ByVal first As IList, _ 
ByVal second As IList
) As Boolean
This language is not supported or no code example is available.
public static bool AreEqual( 
IList first
IList second 
)
This language is not supported or no code example is available.

Parameters

first
IList

The first generic list

second
IList

The second generic list

Return Value

bool

True if the elements of the two generic lists are the same.

.NET Framework

Supported in: 4.8

In this article

Definition