static void Main(string[] args)
 {
     AddSubtractTwoNumbers asm = new AddSubtractTwoNumbers();
     BinaryOp a = new BinaryOp(asm.AddMethod);
     a(10, 5);
     //BinaryOp b = new BinaryOp(asm.SubtractMethod);
     a += asm.SubtractMethod;
     a(10, 5);
     //Console.WriteLine("10 + 5 equals {0}", a(10,5));
     //Console.WriteLine("10 - 5 equals {0}", a(10, 5));
     //GetDelegateDetails(a);
     //Console.WriteLine();
     //GetDelegateDetails(a);
     Console.ReadKey();
 }
        static void Main(string[] args)
        {
            AddSubtractTwoNumbers asm = new AddSubtractTwoNumbers();
            BinaryOp a = new BinaryOp(asm.AddMethod);

            a(10, 5);
            //BinaryOp b = new BinaryOp(asm.SubtractMethod);
            a += asm.SubtractMethod;
            a(10, 5);
            //Console.WriteLine("10 + 5 equals {0}", a(10,5));
            //Console.WriteLine("10 - 5 equals {0}", a(10, 5));
            //GetDelegateDetails(a);
            //Console.WriteLine();
            //GetDelegateDetails(a);
            Console.ReadKey();
        }