예제 #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(A2 a, B b)
 {
     Console.WriteLine("Expected A2 and B, got {0} and {1}", a.Func1(), b.Funky1());
 }