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

Answers were Sorted based on User's Feedback



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

Answer / asha

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 ?    32 Yes 3 No

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

Answer / suresh

partial classes allow implementation across more than one
source file...........

Is This Answer Correct ?    28 Yes 2 No

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

Answer / naresh

Suppose we have a class with hunderads of functions.than it
is so time taken and also difficult to write all code by
one.so to avoid this,we implement this by more than one
devloper at the same time by using same class name followed
by partial keyword....

Is This Answer Correct ?    17 Yes 2 No

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

Answer / 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

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

Answer / rajeev sharma

When we are working in our pages and supppose we need to
make relation for access some thing from the class.Partial
class is best one.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / 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

More C Sharp Interview Questions

To create a localized application which namespaces are necessary?

0 Answers   Siebel,


Which are the access modifiers available in c#?

0 Answers  


About Virtual functions and their use ?

13 Answers   MBITS, MMTS,


Different between method overriding and method overloading?

0 Answers  


When is a class declared as a class abstract?

0 Answers   Siebel,






Is c# an open source language?

0 Answers  


Is goto statement supported in C#? How about Java?

2 Answers  


What is a variable in c#?

0 Answers  


What is a concrete class in c#?

0 Answers  


why we can't create an object for a static class?? what is the reason behind this?

4 Answers   HCL,


localization using windows c#

2 Answers  


Can we have static indexer in c#?

0 Answers  


Categories