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


Please Help Members By Posting Answers For Below Questions

What is a static class in c#?

690


What is the difference between IEnumerator and IEnumerable?

901


What do u mean by delegation?

703


What is the difference between CONST and READONLY?

750


Are enums static c#?

675


What are scriptable objects?

690


what is the index value of the first element in an array?

684


What are constants in c#?

744


Does c# support multiple class inheritance?

809


What is call back method?

704


How do you prevent a class from being inherited in c#?

612


How to Show Message box in Metro Style App?

758


What is a framework in c#?

658


Can constructor have return type c#?

804


Why do we need collections in c#?

644