Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are partial classes and their use?

Answer Posted / vikas kant

Partial Class is the class whose definition is present in
two or more files.All these files combined with each other
at the compile time.
e.g :---

public partial class Employee
{
public void DoWork()
{
}
}

public partial class Employee
{
public void GoToLunch()
{
}
}

so while using the partial classes coders can work in
different files and at compile time all the code can be
combined.it saves the time and also provides the better
security bcoz code is present in more than one file.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of reflection?

1123


What are the layouts of ASP.NET Pages?

1100


What does clearing cache?

1015


What is server side in asp.net?

1027


How do you secure your configuration files to be accessed remotely by unauthorized users?

1152


What is the difference between application state and caching?

1149


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

1029


What is Dynamic Web and discuss its usage with the help of real life examples?

1099


What are the different types of validation controls in asp.net?

1111


Is asp.net a language?

1008


Can a .net web application consume java web service?

1023


What is difference between Fragment Caching and Page Caching in ASP.NET?

1065


How to you can limit Access to Web API to Specific HTTP Verb?

1254


How can we identify that the page is post back in asp net?

983


What is HTTPModule and HTTPcontext? What is the use of each?

2676