linux-packaging-mono/mcs/tests/gtest-anontype-07.cs

25 lines
303 B
C#
Raw Permalink Normal View History

using System;
using System.Collections;
public class Test
{
public static int Main ()
{
var v1 = new { };
var v2 = new { };
if (v1.GetType () != v2.GetType ())
return 1;
if (!v1.Equals (v2))
return 2;
Console.WriteLine (v1);
Console.WriteLine (v2);
return 0;
}
}