public static void Main() { List <myDelegate> CustomerList = new List <myDelegate>(); CallbackGateWay callback = Maintransaction; AddCustomerDetail(callback); ModifyCustomerDetail(callback); Console.ReadKey(); }
public static void ModifyCustomerDetail(CallbackGateWay callback) { callback("Customer Modified!"); }
public static void AddCustomerDetail(CallbackGateWay callback) { callback("Customer Added!"); }