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

Explain the difference between web user control and web custom control?

947


What are the various session state management options provided by asp.net?

954


What is custom attribute? How to create?

1044


Explain what are webservices?

943


What describes a query?

885


What do you mean by query string?

906


What is http post and http get?

971


List the asp.net validation controls?

914


What is redirectpermanent in asp.net?

1038


What are the different types of validation controls provided in ASP.NET?

1133


What is difference between session and cookies in asp net?

1018


What is aspect-oriented programming?

1022


What is meant by asp.net?

952


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?

916


How can you send an email message from an asp.net web page?

947