public static int InterfaceTest3() { InterfaceTestClass tc = new InterfaceTestClass(); IInterfaceAB b = tc; return(b.A()); }
public static bool InterfaceTest3() { TestClass tc = new TestClass(); IInterfaceAB b = tc; bool result = (b.A() == 2); return(result); }