public static void Main() { MyImplementation MyImplementation = new MyImplementation(); InterfaceOne InterfaceOne = (InterfaceOne)MyImplementation; InterfaceOne.Execute(); InterfaceTwo InterfaceTwo = (InterfaceTwo)MyImplementation; InterfaceTwo.Execute(); }
public static string MultipleMatchVarArgs(object p1, InterfaceTwo p2, params object[] p3) { return("InterfaceTwo"); }
public static string MultipleMatchVarArgs(object p1, InterfaceTwo p2, params object[] p3) { return "InterfaceTwo"; }