What is the partial class in C# What is the use of partial
class in C#?
Answers were Sorted based on User's Feedback
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 |
Answer / suresh
partial classes allow implementation across more than one
source file...........
| Is This Answer Correct ? | 28 Yes | 2 No |
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 |
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 |
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 |
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 |
What is the purpose of a console table?
What is cosole application?
Is comparable a functional interface?
Can you declare the override method static while the original method is non-static?
What is the difference between a constant and a static readonly field?
class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } what will happen & why?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
Explain anonymous type in c#?
Explain 'structure padding'?
How to create events for a control? What is custom events? How to create it?
what is inheritance and an example in vb.net and c# of when you might use it?
What do u mean by delegation of authority?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)