Exemplo n.º 1
0
        public static LimitedInt operator +(LimitedInt x, LimitedInt y)
        {
            LimitedInt li = new LimitedInt();

            li.TheValue = x.TheValue + y.TheValue;
            return(li);
        }
Exemplo n.º 2
0
        public static LimitedInt operator -(LimitedInt x)
        {
            LimitedInt li = new LimitedInt();

            li.TheValue = 0;
            return(li);
        }