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.

Further White Paper Details
PublisherO'Reilly Media File FormatPDF
Date PublishedFebruary 2005 Downloads16
FormatBook chapters   
Topics

Quick Sitemap Links: