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

Is .net core faster than .net framework?

549


How we can handle the exception at controller level in ASP.Net MVC?

569


What are the new features 3.5 framework against with the tool?

538


Can we have enum in entity framework?

587


What is the difference between renderaction and renderpartial?

617






Which version of .net framework is installed?

489


What is clr? How does work clr & wht is work of clr?

555


Explain the use of Inversion of control (IOC)?

600


What is the meaning of unobtrusive javascript?

554


What is attribute routing in mvc?

575


Which filter executes first in an asp.net mvc application?

551


What are authentication filters in web api?

573


What is entitycontainer? : Entity framework

581


Explain linq to entities? : Entity framework

542


What is the greatest advantage of using asp.net mvc over asp.net webforms?

555