Method GetHashCode GetHashCode() Computes a hashcode to support hash-based collections. Declaration public override readonly int GetHashCode() Returns Type Description int The computed hash. Overrides ValueType.GetHashCode()