public static bool testMethod() { StructsTestClass_04_Struct1 s1 = new StructsTestClass_04_Struct1(); int result; result = s1.StructsTestClass_04PubPriv(); result += s1.StructsTestClass_04Intern(); result -= s1.intern; result -= s1.pub; result -= s1.GetPrivate(); return(result == 0); }
public static bool testMethod() { StructsTestClass_04_Struct1 s1 = new StructsTestClass_04_Struct1(); int result; result = s1.StructsTestClass_04PubPriv(); result += s1.StructsTestClass_04Intern(); result -= s1.intern; result -= s1.pub; result -= s1.GetPrivate(); return(result == 0); }