Chapter 9. Events and Delegates


Delegates and events are a key part of developing applications in C#. Developers often mistakenly assume that event-based programming is the sole domain of Windows Forms programming. The truth is that you can add a lot of power and value to your applications by making use of events and delegates, regardless of whether you’re creating a Windows Forms application, an ASP.NET application, or even an application with no user interface at all.

This chapter shows you how to start developing with delegates, anonymous methods, multicast delegates, and events. At the end ...

Get Microsoft® Visual C# 2005 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.