O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

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

Operations on Type Parameters

Let’s ask ourselves a quick question: Given a type parameter T, what kind of operations can we carry out over it? Because the type parameter T can be substituted for anything, our generic code can’t deal with specifics of a certain type. Nevertheless, a few basic operations can be meaningfully defined.

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