Chapter 9. Events and Delegates

IN THIS CHAPTER

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.