[2019-12] [threads] Add back mono_threads_attach_tools_thread as a public API (#18074)
[mono-project.git] / mono / tests / hashcode.cs
blob15f2eecbdb7e705c055ee6600d2e6d4a49163c82
1 using System;
3 public class X {
4 int a;
7 public class Test {
9 struct test {
10 public int v1;
12 public static int Main () {
14 test a = new test();
16 a.v1 = 5;
18 Console.WriteLine (a.GetHashCode ());
20 X b = new X();
21 X c = new X();
23 Console.WriteLine (b.GetHashCode ());
24 Console.WriteLine (c.GetHashCode ());
26 return 0;