-
Book Overview & Buying
-
Table Of Contents
.NET 4.0 Generics Beginner's Guide
By :

Don't forget the milk, honey!
Lists are everywhere, starting from the laundry list and grocery list to the checklist on your smartphone's task manager. There are two types of lists. Simple lists, which just store some items disregarding the order allowing duplicates; and other types which don't allow duplicates. These second types of lists which don't allow duplicates are called sets in mathematics. The other broad category of list is associative list, where each element in some list gets mapped to another element in another list.
In this chapter, we shall learn about these generic containers and related methods. We shall learn when to use which list-based container depending on the situation.
Reading this chapter and following the exercises you will learn the following:
Why bother learning about generic lists?
Types of generic lists and how to use them
Give proper rationale for choosing a generic list such as one container over the other
How to create custom generic list-based...
Change the font size
Change margin width
Change background colour