11.12. Summary

The goal of this chapter was to examine some of the more detailed facets of the .NET generics implementation. The chapter looked at many of the factors that played a role in shaping the overall vision for introducing generics into the .NET platform. Beyond that, it also looked at how generics are represented in IL and managed by the CLR at run-time. The chapter devoted a significant amount of time to discussing the generics code sharing scheme. It also looked at some basic performance metrics of generics to provide a clearer view of the performance gains you can expect to achieve with generic types.

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.