Click or drag to resize

DelegateEqualityComparerTGetHashCode Method

Returns a hash code for the specified object.

Namespace:  TomsToolbox.Essentials
Assembly:  TomsToolbox.Essentials (in TomsToolbox.Essentials.dll)
Syntax
public int GetHashCode(
	T obj
)

Parameters

obj
Type: T
The Object for which a hash code is to be returned.

Return Value

Type: Int32
A hash code for the specified object.

Implements

IEqualityComparerTGetHashCode(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionThe type of obj is a reference type and obj is null.
See Also