-
Book Overview & Buying
-
Table Of Contents
.NET 4.0 Generics Beginner's Guide
By :
We learned a lot in this chapter about .NET Generics' list-based containers. We have learnt which generic container to use depending on the task at hand. The main idea of this chapter was not to be yet another API reference; but to learn how to use these generic list-based containers to solve real-world problems.
Although some of the applications built in the chapter might look trivial, they share the same pattern of several other problems in other domains.
Some concepts such as constraints and extension methods are used, but not explained here. Constraints shall be discussed in the appendix and extension methods in Chapter 4,LINQ to Objects.
In this chapter, we have learnt about a list-based associative container SortedList. However, that's not much use for performance issues. In the next chapter, we shall discuss tree-based IDictionary implementations that are much faster than SortedList.
Change the font size
Change margin width
Change background colour