O'Reilly logo

C# 2012 for Programmers, Fifth Edition by Paul Deitel, Harvey M. Deitel, Abbey Deitel

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

18. Generics

Objectives

In this chapter you’ll:

Image Create generic methods that perform identical tasks on arguments of different types.

Image Create a generic Stack class that can be used to store objects of most types.

Image Understand how to overload generic methods with nongeneric methods or with other generic methods.

Image Understand the kinds of constraints that ...

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