Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
| Visual Basic (Declaration) | |
|---|---|
Overrides Public NotOverridable Function GetHashCode() As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public override int GetHashCode() | |