|
The partial keyword allows the class, struct, or interface to span across multiple files. Typically in C# a class will reside entirely in a single file. However in situations where multiple developers need acees to the same class, or more likely in the situation where a code generator of some type generating part of the class, then having a class in multiple files can be beneficial. The way the partial keyword is used is to simply place partial before the calss, struct, or interface.
|