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

        InterfaceOne InterfaceOne = (InterfaceOne)MyImplementation;

        InterfaceOne.Execute();

        InterfaceTwo InterfaceTwo = (InterfaceTwo)MyImplementation;

        InterfaceTwo.Execute();
    }
Exemplo n.º 2
0
 public static string MultipleMatchVarArgs(object p1, InterfaceTwo p2, params object[] p3)
 {
     return("InterfaceTwo");
 }
Exemplo n.º 3
0
 public static string MultipleMatchVarArgs(object p1, InterfaceTwo p2, params object[] p3)
 {
     return "InterfaceTwo";
 }