Computes a hash code for coll.

Namespace: NHibernate.Util
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static int GetHashCode(
	IEnumerable coll
)
Visual Basic
Public Shared Function GetHashCode ( _
	coll As IEnumerable _
) As Integer
Visual C++
public:
static int GetHashCode(
	IEnumerable^ coll
)

Parameters

coll
Type: System.Collections..::..IEnumerable

[Missing <param name="coll"/> documentation for "M:NHibernate.Util.CollectionHelper.GetHashCode(System.Collections.IEnumerable)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Util.CollectionHelper.GetHashCode(System.Collections.IEnumerable)"]

Remarks

The hash code is computed as the sum of hash codes of individual elements, so that the value is independent of the collection iteration order.

See Also