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
Are cookies stored on server or client?
How tooltip is set through code-behind in ASP.NET?
What is AutoPostback?
How many types of cache are there?
Define page output caching?
Does asp.net still recognize the global.asa file?
Where is http session stored?
Why do I get error message "could not load type" whenever I browse to my asp.net web site?
Why do we need url encoding?
How can you ensure a permanent cookie?
How is application management and maintenance improved in asp.net 2.0?
What are the 3 types of web?
What is _viewstart?
What do you mean by query string?
How to find out what version of asp.net I am using on my machine?