Serves as a hash function for a particular type.
System.Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides Function GetHashCode() As Integer |
C# | |
---|
public override int GetHashCode() |
Return Value
Hash code for the current
System.Object.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also