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
What is the difference between ASP.NET Webforms and ASP.NET MVC?
What can you do with asp.net?
Explain one critical mapping?
What is the usie of activex control in .net?
What is asp.net? How is it different from asp?
What is session authentication?
To wrap up a call to a Web service the standard used is..?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What are the steps involved to fill a dataset?
What does mean by a neutral culture?
Explain the use of fragment caching.
What are the Types of authentications in IIS
What is the function used for removing an event listener?
Will the asp.net validators run in server side or client side?
In a Repeater control how one can provide an alternating color scheme ?