DefinitionalObjectCollectionItemsAreSameDefinitionT Method (T, T) |
Determines if two collections contain items with the same definition and in the same order,
or are both .
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static bool CollectionItemsAreSameDefinition<T>(
T[] first,
T[] second
)
Public Shared Function CollectionItemsAreSameDefinition(Of T) (
first As T(),
second As T()
) As Boolean
public:
generic<typename T>
static bool CollectionItemsAreSameDefinition(
array<T>^ first,
array<T>^ second
)
static member CollectionItemsAreSameDefinition :
first : 'T[] *
second : 'T[] -> bool
Parameters
- first
- Type: T
The first collection, which may be . - second
- Type: T
The second collection, which may be .
Type Parameters
- T
- The type of the items in the collections.
Return Value
Type:
Boolean if the two collections contain items with the same definition and in the
same order; otherwise
.
Remarks See Also