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 is the difference between ASP.NET Webforms and ASP.NET MVC?

1162


What can you do with asp.net?

928


Explain one critical mapping?

1003


What is the usie of activex control in .net?

1009


What is asp.net? How is it different from asp?

1038


What is session authentication?

1000


To wrap up a call to a Web service the standard used is..?

983


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

1165


What are the steps involved to fill a dataset?

1026


What does mean by a neutral culture?

1084


Explain the use of fragment caching.

1103


What are the Types of authentications in IIS

1068


What is the function used for removing an event listener?

1027


Will the asp.net validators run in server side or client side?

1146


In a Repeater control how one can provide an alternating color scheme ?

1085