Example #1
0
        public static void Test()
        {
            MathProxy proxy = new MathProxy();

            Console.WriteLine("Add : {0}", proxy.Add(1, 2));
            Console.WriteLine("Sub : {0}", proxy.Sub(10, 2));
            Console.WriteLine("Mul : {0}", proxy.Mul(5, 2));
            Console.WriteLine("Div : {0}", proxy.Div(20, 2));
        }
Example #2
0
 public static void Test()
 {
     MathProxy proxy = new MathProxy();
     Console.WriteLine("Add : {0}", proxy.Add(1, 2));
     Console.WriteLine("Sub : {0}", proxy.Sub(10, 2));
     Console.WriteLine("Mul : {0}", proxy.Mul(5, 2));
     Console.WriteLine("Div : {0}", proxy.Div(20, 2));
 }