What is the partial class in C# What is the use of partial
class in C#?
Answer Posted / surya
Second partial class is the continution of first partial class.Its used to write the code in different classes,so that burden of coding is reduced.For all the classes the class name will be same,And it will be created the same object for all the classes.
Ex:
Partial class A
{
public information()
}
partial class A()
{
public details()
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is Inheritance in C#?
Explain the difference between object type and dynamic type variables in c#?
Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?
What is the major difference between a custom control and user control?
What does dbml mean?
What does console writeline do?
What is routing in c#?
Can we inherit private class in c#?
What is the namespcae generally given to the webpage of the .NET Framework ?
Which is faster hashtable or dictionary?
What is the purpose of the integer parse method the decimal parse method?
Explain deadlock?
What is a web service in c#?
What are strings in c#?
What is difference between first and firstordefault?