New in C# 3.0: Create and Initialize Collection Objects in One Step

To recap a previous article, the new object initializer feature in C# 3.0 is a simple syntax that eases the construction and initialization of objects. Suppose you have a class, Student, that looks like this: