Example: bankruptcy
Advanced C#
Delegate = Method Type Declaration of a delegate type delegate void Notifier (string sender); // ordinary method signature // with the keyword delegate Declaration of a delegate variable Notifier greetings; Assigning a method to a delegate variable void SayHello(string sender) {Console.WriteLine("Hello from " + sender);}
Download Advanced C#
Information
Domain:
Source:
Link to this page: