Returns the hash code for the current instance. The UInt16 type is not CLS compliant. The CLS-compliant alternative is Int16.
[C#] public override int GetHashCode(); [C++] public: override int GetHashCode(); [JScript] public override function GetHashCode() : int;
[Visual Basic] The UInt16 type cannot be used in Visual Basic.
A hash code for the current instance.
GetHashCode performs a search and returns the hash code for Int16.
UInt16 Structure | UInt16 Members | System Namespace | Int16 | IHashCodeProvider