Chapter 7. Delegates

Delegates play an important role in the programming model of the .NET Framework. They provide valuable support for developers who need to design and write software that uses callback notifications. Knowing how to work with delegates is critical because the use of callbacks is widespread throughout the .NET Framework. For example, the event-driven model of the Windows Forms framework is based on delegates.

This chapter will build your understanding of delegates from the ground up. It begins with a general discussion of how callbacks are used in application design. Once you fully appreciate the design problems that can be solved using callbacks, the chapter introduces and explains the .NET programming construct known as a ...

Get Building Applications and Components with Visual Basic .NET 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.