Click or drag to resize

DefinitionalObjectGetCollectionHashCodeT Method (IEnumerableT)

Computes a hash code from the items in an enumerable collection. The hash code computed is order dependent, that is, another collection 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: 23.2.417.0 (23.2.417.0)
public static int GetCollectionHashCode<T>(
	IEnumerable<T> collection


Type: System.Collections.GenericIEnumerableT
The collection containing the items for which to compute the hash code.

Type Parameters

The type of item in the collection.

Return Value

Type: Int32
The hash code.
See Also