O'Reilly logo

C++ 2013 for C# Developers,Second Edition by Dean C. Wills

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 14

image

Generics

A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.

—Douglas Adams

In this chapter, I introduce generics. This feature was introduced in version 2.0 of the .NET Framework and is supported by all of the Microsoft Visual Studio 2013 languages. You will learn how generics can help us solve a variety of problems that arise when we wish to build classes that act on different types of data without sacrificing type safety. In this chapter, we will also begin using a variety of .NET Framework classes to create more interesting and instructive ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required