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

Is there a way to force garbage collection?

496


What is the difference between a field and a property in c#?

497


Why do we use abstraction in c#?

477


What is boolean method?

522


Is c# a strongly-typed language?

551






Can interface have virtual methods in c#?

473


What is the difference between struct and class c#?

486


What is class method c#?

483


What are the Types of instancing properties and explain each. Explain the difference between multiuse,singleuse and globalmultiuse and which is default

556


How do I format in c#?

501


What is the difference between ienumerable and iqueryable?

448


Explain About .NET Framework

531


How to add a readonly property in c#.net

496


Why it's said that writing into .NET Application Configuration Files is a Bad Idea?

533


What is msil, and why should developers need an appreciation of it if at all?

577