Click or drag to resize
HashCodeBuilderGetHashCode Method
Gets the hash code computed for the fields supplied to this object.

Namespace: Capgemini.CommonObjectUtils
Assembly: Capgemini.CommonObjectUtils (in Capgemini.CommonObjectUtils.dll) Version: 1.3.0.0
Syntax
public override int GetHashCode()

Return Value

Type: Int32
The computed hash code.
Remarks

Note that this breaks the normal usage of GetHashCode because it doesn't return the hash code of this object, it returns the calculated hash code of the fields that have been appended.

This means that objects of this class should never be put into hash sets or other collections that rely on the GetHashCode contract.

See Also