what are partial classes?

Answer Posted / sunny setia

The purpose of partial classes is to allow a class's
definition to span across multiple files. It is especially
useful for:

Allowing multiple developers to work on a single class at
the same time without the need for later merging files in
source control.

Allowing a separation between the class interface and the
implementation-related definitions

Easing the writing of code generators, such as visual designers.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?

580


Explain .Net Framework? Why we use it?

611


What are sections?

579


what is entity framework?

602


What is the difference between model and entity?

495






What is connected scenario? : Entity framework

554


what is conceptual model?

604


how do you mark a property as required? For example, for a project, the name is a required field.

585


Explain tempdata in mvc?

568


How does the .net framework 3.0 relate to the .net framework 2.0?

561


Explain what is routing?

520


Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?

511


What is partialview in asp.net mvc?

601


What is entity sql? : Entity framework

561


What is RouteConfig.cs in ASP.Net MVC 4?

582