예제 #1
0
        public static void Main()
        {
            Delegate_Demo2 del2     = new Delegate_Demo2();
            addnum         del_obj1 = new addnum(del2.sum);
            subnum         del_obj2 = new subnum(del2.subtract);

            del_obj1(100, 40);
            del_obj2(100, 60);
        }
 public void Delegates2_DemoTest()
 {
     Delegate_Demo2.Main();
 }