Partial Type in C#

New types have been added in C#, some of these are enum, nullable, generics and partial types. Partial types are very nice concept implicated to C# 2005.

It allows developers to define single class in more than one physical files so that at a time more than one developer can work on same class structure.

Although it is recommended that a class should be stored in a single source file, sometimes it is just not practical.

While you can rewrite a class to inherit some of the code from a subclass, this also is not always practical.

Read more….
Partial Types in Dot Net

admin

Back to top