What is Partial class? What purpose we use it?

Answers were Sorted based on User's Feedback



What is Partial class? What purpose we use it?..

Answer / nsy

A partial class nothing but a class with the keyword
partial. This class can split across multiple cs files. The
purpose of this is managing code in our project.

Is This Answer Correct ?    10 Yes 0 No

What is Partial class? What purpose we use it?..

Answer / raja

Visual Studio uses partial classes to separate auto-generated code from user-generated code. For example, in the Windows Form application

Is This Answer Correct ?    2 Yes 0 No

What is Partial class? What purpose we use it?..

Answer / anil

Partial is keyword,a class can span multiple source file .

same name diffrent member and functionality.

Is This Answer Correct ?    2 Yes 0 No

What is Partial class? What purpose we use it?..

Answer / jajnaseni majhi

Partial is keyword which is used to create partial
classes.When a class is large enough to maintain,by
creating partial classes developer can span the same class
to multiple files.Which easy to maintain.

Is This Answer Correct ?    2 Yes 0 No

What is Partial class? What purpose we use it?..

Answer / balakrishna

partial is keyword
when ever class will create at difference location with same
name at the time before class partial key word is used.
this can help parallel creation .

Is This Answer Correct ?    1 Yes 0 No

What is Partial class? What purpose we use it?..

Answer / rajendra

http://msdn.microsoft.com/en-us/library/wa80x488.aspx

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is a long in c#?

0 Answers  


Can you change the value of a variable while debugging a C# application?

1 Answers  


Why do we use struct in c#?

0 Answers  


Is string a class in c#?

0 Answers  


What are different properties provided by Object-oriented systems?

2 Answers  






why do we use Overloading, Overriding, Boxing, Unboxing, and what is the use of these ?

3 Answers   eXensys,


what is the difference between c-sharp and vb.net?What kind of security or advances we find in both languages?

3 Answers   DataPoint,


What is the CTS, and how does it relate to the CLS?

0 Answers   Arigo Infotech,


What are destructors in C#?

1 Answers   TryTechnicals Pvt Ltd,


What is the root element of an xml file?

0 Answers  


How do you implement multiple inheritance in .NET?

5 Answers   Infosys, Microsoft,


How many classes are there in classification?

0 Answers  


Categories