Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. The programming
language C# introduces several new features in version 2.0. Partial
classes allow implementation of a class to be spread between several
files, with each file containing one or more class members. It is useful
primarily when parts of a class are generated automatically. For
example, the feature is heavily used by code-generating user interface
designers in Visual Studio. Generics, or parameterized types, or
parametric polymorphism is a .NET 2.0 feature supported by C# and Visual
Basic. Unlike C++ templates, .NET parameterized types are instantiated
at runtime rather than by the compiler; hence they can be cross-language
whereas C++ templates cannot. They support some features not supported
directly by C++ templates such as type constraints on generic parameters
by use of interfaces.