Chapter 9. Patterns, Practices, and Performance

Patterns, Practices, and Performance If all you have is a hammer, every problem would seem like a nail. Know thy tools.

We have come a long way. Starting at why Generics is important, we have learnt the basics of this API by building several applications. This chapter, however, will be different from the previous chapters. It will be a reference of best practices while dealing with Generics. The content of this chapter has been broken down into the following sections:

  • Generic container patterns: There are several patterns that are used more than the others in code bases that use Generics. Here, we shall walk through some of these very ...

Get .NET 4.0 Generics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.