Method GetHashCode
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetHashCode(StringComparison)
Gets the hash code for the managed string
public int GetHashCode(StringComparison comparisonType)
Parameters
comparisonType
StringComparisonKind of comparison to perform when computing the hash code
Returns
- int
Hash code for the managed string