Sunday, April 19, 2009

Events

Delegate usefulness does not just lie in the fact that it can hold the references to functions but in the fact that it can define and use function names at runtime and not at compile time.
A large goal of design delegates is their applicability in events model of .Net.
Events are the actions of the system on user manipulations (e.g. mouse clicks, key press, timer etc.) or any event triggered by the program.

No comments:

Post a Comment