Finally able to grab a minute to post my code and slides from the Introduction
to Generics presentation that I did this past weekend at the Alabama Code Camp at
the University of Alabama.
This is the abstract from the presentation:
With the release of the 2.0 version of the .NET Framework, Generics
became first class citizens
in the Common Language Runtime. Yet,
many still shy away from using them because of perceived difficulty or other misconceptions. This
presentation will seek to dispel a few of these myths and offer a gentle introduction
into using Generics on a daily basis. Along
the way, I’ll also demonstrate language enhancements in the .NET 3.5 runtime that
lend themselves nicely to working with Generics.
Get the download here.
Note: The code is compiled on Visual Studio 2008 (Orcas)
Beta 2. The only project in the solution that uses .NET 3.5 specific code is
the Collections project. This uses C# 3.5 Automatic Properties and Property
Initializers.