Beispiel #1
0
        public static OverloadArray operator -(OverloadArray indexB1, OverloadArray indexC1)
        {
            OverloadArray newOverload1 = new OverloadArray(indexB1.indexB - indexC1.indexB, indexB1.indexC - indexC1.indexC);

            return(newOverload1);
        }
Beispiel #2
0
        public static OverloadArray operator +(OverloadArray indexA1, OverloadArray indexB1)
        {
            OverloadArray newOverload = new OverloadArray((indexA1.indexA + indexB1.indexA), (indexA1.indexB + indexB1.indexB));

            return(newOverload);
        }