Chapter 15. Generic Types and Methods

The second release of the .NET Framework and the CLR added support for generic types, which provide a way to parameterize types on...types. This allows for the creation of more generally applicable types while preserving static type information. In this chapter, we study the language-level and runtime-level constructs exposing this feature. Besides this, we also see how to design and build our own generic types, using rich features ...

Get C# 4.0 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.