Share via


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

Remarks

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.

C# Language Specification

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

  • 19.4 Partial types

See Also

Reference

Modifiers (C# Reference)
Introduction to Generics (C# Programming Guide)

Concepts

C# Programming Guide

Other Resources

C# Reference