projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-05-28 Vladimir Vukicevic <vladimir@pobox.com>
[mono.git]
/
mono
/
tests
/
hashcode.cs
1
using System;
2
3
public class X {
4
int a;
5
}
6
7
public class Test {
8
9
struct test {
10
public int v1;
11
}
12
public static int Main () {
13
14
test a = new test();
15
16
a.v1 = 5;
17
18
Console.WriteLine (a.GetHashCode ());
19
20
X b = new X();
21
X c = new X();
22
23
Console.WriteLine (b.GetHashCode ());
24
Console.WriteLine (c.GetHashCode ());
25
26
return 0;
27
}
28
}