DefinitionalObjectGetCollectionHashCodeT Method (T) |
Computes a hash code from the items in an array.
The hash code computed is order dependent, that is, another array
with the same items in a different order will have a different hash code.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static int GetCollectionHashCode<T>(
T[] array
)
Public Shared Function GetCollectionHashCode(Of T) (
array As T()
) As Integer
public:
generic<typename T>
static int GetCollectionHashCode(
array<T>^ array
)
static member GetCollectionHashCode :
array : 'T[] -> int
Parameters
- array
- Type: T
The array containing the items for which to compute the hash code.
Type Parameters
- T
- The type of item in the array.
Return Value
Type:
Int32The hash code.
See Also