IndexersTestClass12_Sub this[int i] { get { return(TC); } set { TC = value; TC.intI = TC.intI + i; } }
public static bool testMethod() { IndexersTestClass12 test = new IndexersTestClass12(); test[1] = new IndexersTestClass12_Sub(); if (test[2].intI == 3) { return(true); } else { return(false); } }
public static bool testMethod() { IndexersTestClass12 test = new IndexersTestClass12(); test[1] = new IndexersTestClass12_Sub(); if (test[2].intI == 3) { return true; } else { return false; } }
IndexersTestClass12_Sub this[int i] { get { return TC; } set { TC = value; TC.intI = TC.intI + i; } }