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

Parameters

modifier (optional)

Optional modifier that include:

type

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

Show:
© 2015 Microsoft