Home > DeveloperSection > Forums > Can we divide the class definition
yash Singh
yash Singh

Total Post:15

Posted on    November-10-2010 1:29 AM

 ASP.Net ASP.Net 

 1 Reply(s)
 1523  View(s)
Rate this:
How we can divide the class definition into multiple files

Pushpendra Singh

Total Post:9

Posted on    November-11-2010 12:09 AM

It is possible to split the definition of a class  in two or more source files. Each source file contains a section of the class definition, and all parts are combined when the application is compiled. There are several situations when splitting a class definition is desirable:

When working on large projects, spreading a class over separate files allows multiple programmers to work on it simultaneously.
When working with automatically generated source, code can be added to the class without having to recreate the source file.

Don't want to miss updates? Please click the below button!

Follow MindStick