Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

partial (C# Reference) 

Partial type definitions allow the definition of a class, struct or interface to be split into multiple files.

[modifiers] partial type


modifier (optional)

Optional modifier that include:


One of:

Splitting a class, struct or interface type over several files can be useful when working with large projects, or automatically generated code. For more information, see Partial Classes.

For more information, see the following sections in the C# Language Specification:

  • 19.4 Partial types

© 2015 Microsoft