16 lines
225 B
C#
16 lines
225 B
C#
|
struct Foo {
|
||
|
public int x;
|
||
|
public override int GetHashCode ()
|
||
|
{
|
||
|
return base.GetHashCode ();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class Test {
|
||
|
public static void Main ()
|
||
|
{
|
||
|
Foo foo = new Foo ();
|
||
|
System.Console.WriteLine (foo.GetHashCode ());
|
||
|
}
|
||
|
}
|