Click or drag to resize

HashCodeGetHashCodeT Method (T)

Gets a hash code for the items in the specified array. The hash code is computed by using Combine(Int32) to combine the hash codes of the items in the array. If the array is null, the returned hash code is zero.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 22.1.413.0 (22.1.413.0)
public static int GetHashCode<T>(
	T[] array


Type: T
The array for which to get the hash code.

Type Parameters

The type of item in the array.

Return Value

Type: Int32
The hash code.
See Also