static void TestInterface(IMyInterface iface, int iterations) { for (int i = 0; i < iterations; i++) { iface.InterfaceMethod(); } }
public static string TestInterfaceMethod(IMyInterface i, string s) { return(i.InterfaceMethod(s)); }
public int InvokeCall(IMyInterface mc, double d) { return(mc.InterfaceMethod(d)); }
public int InvokeCall(IMyInterface mc, double d) { return mc.InterfaceMethod(d); }