HashCodeGetHashCode Method (String) |
Gets a hash code for a specified string, or zero if the string is .
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static int GetHashCode(
string s
)
Public Shared Function GetHashCode (
s As String
) As Integer
public:
static int GetHashCode(
String^ s
)
static member GetHashCode :
s : string -> int
Parameters
- s
- Type: SystemString
The string for which to get the hash code.
Return Value
Type:
Int32The hash code of the string, or zero if the string is
.
See Also