Introduction

Although generics are new to .NET platform, the concepts that motivated their introduction have been around for years. However, while their value was often acknowledged, they were frequently stereotyped as being highly complex, unwieldy, and unapproachable. This reputation always seemed to obscure their value and limit their ability to capture the mindshare of the broader population of developers. The real truth here, though, is that generics simply couldn't become truly mainstream without first having more languages and environments add support for generics. And, prior to version 2.0 of the .NET Framework, Visual Basic, C# and J# developers were unable to use any generic constructs. As a result, many of these developers remained unaware of the power and value of generics. You can't miss something if you've never had it.

Now, with .NET Framework adding full support for generics, this dynamic will certainly change. And, as generics begin to move out of the shadows and into the limelight, you're going to want to be in a position to maximize their value in your own solutions. To get to that point, though, you'll need to understand all the nuances associated with creating and consuming generics, how they reach their way into and influence the fabric of the .NET Framework.

The overriding goal of this book, then, is to provide a soup-to-nuts blend of basic syntax, key concepts, and examples of generic libraries that will provide you with a foundation that will help you ...

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.