Click or drag to resize

TupleEqualityComparerT1, T2GetHashCode Method (TupleT1, T2)

Returns a hash code for the specified object.

Namespace:  WhetStone.Comparison
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public int GetHashCode(
	Tuple<T1, T2> obj
)

Parameters

obj
Type: SystemTupleT1, T2
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