Home » C# String GetHashCode() method

C# String GetHashCode() method

by Online Tutorials Library

C# String GetHashCode()

The C# GetHashCode() method is used to get hash code of this string. It returns an integer value.

Signature

Parameters

It does not take any parameter (argument).

Return

It returns hash code of a string object.


C# String GetHashCode() Method Example

Output:

718576468 

You may also like