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.

Chapter 11. Learning About .NET Generics

Chapter 9 explained how to use lists, delegates, and lambda expressions. In that chapter, you also saw an example of .NET generics when using lists to manage a collection of object instances.

The main focus of the chapter is .NET generics and how to use them in a black box context (the code doesn't know the specifics of the .NET generics parameter types). The secondary focus is amore detailed implementation of lambda expressions. To demonstrate these concepts, we'll expand on the spreadsheet example introduced in Chapter 9. The idea is to get you well versed in .NET generics and lambda expressions, which you will likely use in your own production code, so that that there will be no surprises in your projects. ...

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