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

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