Java.Lang.Object.GetHashCode Method
Returns an integer hash code for this object.

Syntax

[Android.Runtime.Register("hashCode", "()I", "GetGetHashCodeHandler")]
public override int GetHashCode ()

See Also

Object.Equals(Object)

Returns

Documentation for this section has not yet been entered.

Remarks

Returns an integer hash code for this object. By contract, any two objects for which Object.Equals(Object) returns true must return the same hash code value. This means that subclasses of Object usually override both methods or neither method.

Note that hash values must not change over time unless information used in equals comparisons also changes.

See Object.writing_hashCode if you intend implementing your own hashCode method.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1