GetHashCode()

ObjectExt::GetHashCode(const T&) method

Implements GetHashCode() calls; works on both Object subclasses and unrelated types.

template<typename T> static int System::ObjectExt::GetHashCode(const T &obj)

Template parameters

ParameterDescription
TType to calculate hash code for.

Arguments

ParameterTypeDescription
objconst T&Object to calculate hash code for.

Return Value

Hash code calculated for object passed.

See Also