Chapter 6. Generic Delegates

Delegates represent one of those subtle, helper mechanisms that can easily get overshadowed by some of the bigger concepts found in the .NET Framework. However, they play an important role in the grand scheme of the framework and, given their nature, they were a natural fit to be extended and enhanced via generics. This chapter looks at all the facets of generic delegates as well as the advantages generic delegates have to offer over their non-generic counterparts. The chapter also explores how generics can be leveraged as part of other classes that are included in the framework. Overall, you should come away from this with a better grasp of the fundamental tools you need to consume and build your own generic delegates.

Get Professional .NET 2.0 Generics 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.