Skip to Content
Beginning C# 3.0
book

Beginning C# 3.0

by Jack Purdum
May 2008
Beginner
550 pages
13h 22m
English
Wrox
Content preview from Beginning C# 3.0

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:

  1. Generics

  2. The advantages generics offer

  3. Boxing and unboxing

  4. Runtime type checking

  5. Interfaces

  6. 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.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Navigating the Metaverse

Navigating the Metaverse

Cathy Hackl, Dirk Lueth, Tommaso Di Bartolo, John Arkontaky, Yat Siu
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
Capitalism at Risk

Capitalism at Risk

Joseph L. Bower, Herman B. Leonard, Lynn S. Paine

Publisher Resources

ISBN: 9780470261293Purchase book