Lecture overview -- Keyboard shortcut: 'u'  Previous page: Delegates that contain instance methods -- Keyboard shortcut: 'p'  Next page: Lambda Expressions -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Data Access and Operations - slide 35 : 45

Multivalued delegates
A delegate can contain an arbitrary number of methods
Messenger.cs
Install and UnInstall message methods in the Messenger class.
a.cs
A simple class A.
application.cs
An Application class.
output
Output from Main of class Application.

Summary of delegates

Delegates are types. The values of delegate types are methods

With delegates, methods become first class citizens

A variable of a delegate type can contain both static and instance methods

A variable of a delegate type can even contain two or more methods