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 token in c#?

0 Answers  


Can we inherit private class in c#?

0 Answers  


Can you inherit multiple classes in c#?

0 Answers  


Why should I use interface in c#?

0 Answers  


Can we throw exception from catch block

6 Answers   Microsoft,






What is the implicit name of the parameter that gets passed into the class set method?

0 Answers  


List the differences between method overriding and method overloading?

0 Answers  


Why can?t you specify the accessibility modifier for methods inside the interface?

2 Answers  


What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?

0 Answers  


What is argument in c#?

0 Answers  


What is the main purpose of xml?

0 Answers  


Write a program in c# to find the angle between the hours and minutes in a clock?

0 Answers  


Categories