What is Partial class? What purpose we use it?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to have different access modifiers on the get/set methods of a property?

581


What is value c#?

541


Why to use lock statement in c#?

576


What is parse method in c#?

532


Explain about generics in c#.net?

600






Can we override constructor in c#?

574


What is the difference between static class and singleton class in c#?

567


What is singleordefault c#?

590


Why do we use readonly in c#?

575


What is access specifier in c#?

651


How does the lifecycle of Windows services differ from Standard EXE?

600


Is c# and c same?

593


What is msil in c#?

642


Is comparator a functional interface?

542


What is access modifier in c#?

572