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

Explain the process of polymorphism with an example?

467


Define a manifest in .net?

534


What is deferred execution?

474


What is dictionary and hashtable in c#?

466


Why are strings immutable c#?

467






How the versioning applies to Assemblies or can you explain version numbers?

563


What are "class access modifiers" in C#?

536


How to use exception handling in stored procedure?

540


What are cookies in c#?

540


What is private void in c#?

518


Can an abstract class have a constructor c#?

491


code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.

1763


How does bitwise xor work?

467


Contrast System.String and System.Text.StringBuilder classes?

524


What do you mean by serialization in .NET?

552