what are partial classes?

Answer Posted / anna

using a partial class, we can split a class into multiple
files.
compiler will treat them as different classes.
but when compiled all the files will be treated as a single
class.
it is more efficeint

Is This Answer Correct ?    45 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is attribute routing in mvc?

579


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

563


What is ViewStart Page in ASP.Net MVC?

579


What is meant by bootstrap in mvc5?

643


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

512






How we can add the css in mvc?

595


In which assembly is the mvc framework defined?

553


What is the use .glimpse in mvc?

599


What is Differnce between html.action and ajax.action?

570


What is the use .Glimpse in ASP.Net MVC

577


How to change the action name in ASP.Net MVC?

576


Explain how you can send the result back in JSON format in MVC?

581


Can I use razor code in javascript in asp.net mvc?

544


What type of filter does outputcacheattribute class represents?

682


In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?

556