public static void Main()
    {
        MyImplementation MyImplementation = new MyImplementation();

        InterfaceOne InterfaceOne = (InterfaceOne)MyImplementation;

        InterfaceOne.Execute();

        InterfaceTwo InterfaceTwo = (InterfaceTwo)MyImplementation;

        InterfaceTwo.Execute();
    }
Beispiel #2
0
//========== Next section is to test the support (or lack thereof) with the most ambiguous cases with optional parameters

        public static string MultipleMatchVarArgs(object p1, InterfaceOne p2, params object[] p3)
        {
            return("InterfaceOne");
        }
 //========== Next section is to test the support (or lack thereof) with the most ambiguous cases with optional parameters
 public static string MultipleMatchVarArgs(object p1, InterfaceOne p2, params object[] p3)
 {
     return "InterfaceOne";
 }