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