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

What are the versions of .net framework?

533


How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?

567


What is the role of the jit compiler in .net framework?

621


What is viewbag title?

523


What is entity graph? : Entity framework

524






What are non action methods in mvc?

542


What is namespace of asp.net mvc?

595


What are the components required to create a route in ASP.Net MVC?

581


Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?

533


what is minimum requirement for entity framework applications to run?

574


Can we change web.config settings from iis?

551


Explain .Net Framework? Why we use it?

607


What is meant by bootstrap in mvc5?

633


Explain the tools used for unit testing in ASP.Net MVC

597


What is the advantage of mvc?

612