Life Without Generics

In the first release of the .NET Framework, the declaration of a type had to be closed, meaning all the information of a type’s layout with regard to its fields and members had to be filled in. This posed an important limitation upon framework designers who wanted to keep their types as generally applicable as possible. A typical example can be found in the realm of collection types.

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.