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 are the advantages of using c#?
Which class does the remote object has to inherit?
What are the concepts of dispose method?
How can you sort strings in array that are passed to method as arguments?
What is the difference between ienumerable and enumerable?
What exception can an overridden method throw in comparison with the method it is overriding?
What is default parameter in c#?
What is call back method?
What is callback delegate in c#?
Why do we use overloading in c#?
Why do you need boxing in c#?
What are jagged arrays used for?
What does typeof return c#?
Why reflection is used in c#?
Explain the difference between pass by value and pass by reference.