Chapter 12. Generics
This chapter discusses generics, a feature that has been a part of C# since its 2005 release. While Microsoft still has a few hiccups to remove, generics have the potential to save you a ton of programming effort. In this chapter, you will learn about the following:
Generics
The advantages generics offer
Boxing and unboxing
Runtime type checking
Interfaces
Recursion
Generics offer you a way to stretch your programming time in ways that just make sense. Let's examine what this relatively new OOP feature has to offer.
Get Beginning C# 3.0 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.