public static int InterfaceTest4() { InterfaceTestClassB tc = new InterfaceTestClassB(); IInterfaceA a = tc; return(a.A()); }
public static bool InterfaceTest4() { TestClassB tc = new TestClassB(); IInterfaceA a = tc; bool result = (a.A() == 1); return(result); }