Class StringHash
Inheritance
System.Object
Inherited Members
Show
Syntax
public static class StringHash
Fields
EmptyString
Declaration
public const int EmptyString = 23
Methods
GetStableHashCode(String)
Gets a hash for a string. This hash will be the same on all platforms
Declaration
public static int GetStableHashCode(this string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Int32 |