Mega Code Archive
RuntimeHelpers GetHashCode generates a hash code
using System;
using System.Runtime.CompilerServices;
class Program
{
static void Main(string[] args)
{
int i = 1;
int hash = RuntimeHelpers.GetHashCode(i);
Console.WriteLine("The Hash if i is : " + hash);
}
}