What is the partial class in C# What is the use of partial
class in C#?

Answer Posted / poonam

Partial class splits the class or struct or interface to
work for diffrent users siultaneously. It is desirable when
working on large projects.

Eg.

Public partial class students()
{
public void dostudy()
{
}
}

Public partial class students()
{
public void writeexam()
{
}
}

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do u mean by delegation?

708


What is default constructor in c#?

673


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

745


What does int parse do in c#?

692


When a switch is said to be congested?

756


Can hashtable have duplicate keys?

665


Where do we use static class in c#?

662


What is wpf c#?

661


Why do we need singleton pattern in c#?

692


What is expression tree in c#?

686


The int maps to which C# keyword in .NET type?

837


What is the default value of date?

671


What is a Managed Code??

732


What are properties in c#. Explain with an example?

666


Is it possible to inherit multiple interfaces?

745