Discover Object Class @ .Net
| Posted in Uncategorized | Posted on 31-05-2010
0
1: internal class TestHashCode
2: {
3:
4: }
5:
6: class Program
7: {
8: static void Main(string[] args)
9: {
10: TestHashCode testHashCode = new TestHashCode();
11: Console.WriteLine(string.Format("Object 1 Hash Code is {0}",testHashCode.GetHashCode()));
12:
13: TestHashCode testHashCode1 = new TestHashCode();
14: Console.WriteLine("Object 2 Hash Code is {0}",testHashCode1.GetHashCode());
15: }
16: }
17:





Use the Highlighter
This website now has an AutoPublish widget:

