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 action filters?

789


What is viewbag?

798


I want to fetch data from datareader. i have three tables in datareader. i want to bind my two table with datagrid, then i want to fetch a value from my third table. do u have any idea pls help me. we use dr.nextresult() for multiple tables.

2384


What you mean by routing in asp.net mvc?

747


What is the 'page life cycle' of an ASP.NET MVC?

818


My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?

760


what do you mean by table-per-hierarchy?

810


what is csdl?

786


How we can add the CSS in ASP.Net MVC?

781


What is representational state transfer (rest) mean?

757


what is scalar property?

816


what is way of loading data in ef (entity framework)?

795


What are scaffold templates in mvc?

760


Is the following route definition a valid route definition? {controller}{action}/{id}

991


What is the need of Action Filters in ASP.Net MVC

791