示例#1
0
        public static void Main()
        {
            Console.WriteLine("Stuff!");
            var a = new A2();
            var b = new B2();

            TerriblyAmbiguous(a, b);
        }
示例#2
0
 static void TerriblyAmbiguous(A a, B2 b)
 {
     Console.WriteLine("Expected A and B2, got {0} and {1}", a.Func1(), b.Funky1());
 }