Example #1
0
        public static void Main()
        {
            List <myDelegate> CustomerList = new List <myDelegate>();
            CallbackGateWay   callback     = Maintransaction;

            AddCustomerDetail(callback);
            ModifyCustomerDetail(callback);
            Console.ReadKey();
        }
Example #2
0
 public static void ModifyCustomerDetail(CallbackGateWay callback)
 {
     callback("Customer Modified!");
 }
Example #3
0
 public static void AddCustomerDetail(CallbackGateWay callback)
 {
     callback("Customer Added!");
 }