public static bool testMethod() { OperatorsTestClass22 Test1 = new OperatorsTestClass22(); OperatorsTestClass22 Test = Test1 >> 3; if (Test.intI == 5) { return true; } else { return false; } }
public static OperatorsTestClass22 operator >>(OperatorsTestClass22 MyInt, int MyInt2) { OperatorsTestClass22 MC = new OperatorsTestClass22(); MC.intI = MyInt.intI + MyInt2; return MC; }