Mega Code Archive

 
Categories / VB.Net Tutorial / Data Type
 

Demonstrating method GetHashCode of class String

Module Tester    Sub Main()       Dim string1 As String = "hello"       Dim string2 As String = "Hello"       Console.WriteLine(string1.GetHashCode() )       Console.WriteLine(string2.GetHashCode())    End Sub ' Main End Module -695839 -694847