public static bool testMethod() { MethodsTestClass_Sub80 tc2 = new MethodsTestClass_Sub80(2); MethodsTestClass80 test = new MethodsTestClass80(); test.TestMeth(out tc2); if ((tc2.testint == 3) && (test.tc.testint == 3)) { return true; } else { return false; } }
public void TestMeth(out MethodsTestClass_Sub80 t) { t = new MethodsTestClass_Sub80(3); tc = t; }