Generics were of one of main new features in .NET 2.0 languages. In .NET 1.x developers had to use System.Collections non-Generic collections to save their objects but no type checking were occurred for them. Therefore they had to do a type casting when they were retrieving their objects from collections. Now
Similar Posts
As you know generics were only introduced to the .NET Framework in version 2.0. Originally we had a lot of collections in the System.Collections namespace
EDIT As someone pointed out my example was a bit sloppy so it has been edited. In Step One, the Person class has been changed to avoid the need to cast
This week we haven't had CS Dev Guide show but let's finish it with a useful show for the Community Server world to kill spams and help our news man to
Source Code How To Use Lazy Initialization with VB.NET and Visual Basic 2005 How To Use Lazy Initialization with VB.NET and Visual Basic 2005 This is part