Programming Languages White Papers
Programming C#: Delegates and Events
Overview In programming, the user is often faced with situations where one needs to execute a particular action, but the user doesn't know in advance which method, or even which object, he or she wants to call upon to execute it. For example, a button might know that it must notify some object when it is pushed, but it might not know which object or objects need to be notified. Instead of wiring the button to a particular object, the user will connect the button to a delegate and then resolve that delegate to a particular method when the program executes. Today's GUI programming model requires a different approach, known as event-driven programming.
| Publisher | O'Reilly Media | File Format | |
|---|---|---|---|
| Date Published | February 2005 | Downloads | 16 |
| Format | Book chapters | ||
| Topics | |||


