CaseInsensitiveComparison.GetHashCode(String) Method

Definition

Gets a case-insensitive hash code for Unicode identifiers.

public:
 static int GetHashCode(System::String ^ value);
public static int GetHashCode (string value);
static member GetHashCode : string -> int
Public Shared Function GetHashCode (value As String) As Integer

Parameters

value
String

identifier to get the hash code for

Returns

The hash code for the given identifier

Remarks

These are also the rules used for VB identifier comparison.

Applies to