![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Operators, Delegates, and Events - slide 9 : 20 |
![]() | A simple class A. |
![]() | An Application class. |
![]() | 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