Generics/Collections
Summary
This Drill introduces the System.Generics namespace. You can use this namespace to create strongly typed collections, stacks, queues, and dictionaries. You can also use it to create iterators and your own generic types.
Audience
This Drill is for developers who want to learn about and work with the classes in the System.Generics namespace (new to .NET 2.0). With these classes, you will be able to create strongly typed collections, stacks, queues, and dictionaries.
What you'll learn
You will be able to create strongly typed collections, stacks, queues, and dictionaries using the classes of the System.Generics namespace. You will be able to use it to create iterators and your own generic types. You will also have the ability to constrain generic types to enforce the requirements that a type must meet before being passed to a generic class.
What you need to know
We assume that you’re already familiar with the concepts of programming and you’ve some experience with Visual Studio 2005. For this particular Drill, you’ll also need to be comfortable with Visual C# or Visual Basic syntax and HTML. Although not essential, experience in object-oriented development would also be useful.