Click here to Skip to main content
15,922,407 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is partial class in c# with example
Posted

A partial class splits the definition of a class over two or more source files. You can create a class definition in multiple files but it will be compiled as one class.

Refer this links..

1 ) Partial Classes in C# With Real Example

2 ) Partial Classes and Methods (C# Programming Guide)

3 ) C# Partial
 
Share this answer
 
ASM
Patial class is used to divide a class or view physically,not logically to maintain code.
suppose i have a class Customer , i can divide it to  two or more partial class such as
 public partial class customer1
{
} 
and
 public partial class customer2
{
}
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900