In a simple word, "
Partial classes span multiple files." For example, If you've worked with Windows Forms Application, you might have noticed one designer.cs file, that is nothing but
The machine-generated C# code is separated.
It has no effect on class.
As per
MSDN [
^]:
Quote:
The partial keyword indicates that other parts of the class, struct, or interface can be defined in the namespace. All the parts must use the partial keyword. All the parts must be available at compile time to form the final type. All the parts must have the same accessibility, such as public, private, and so on.
-KR