What is Partial class and its use?



What is Partial class and its use? ..

Answer / shahab qureshi

Partial class definitions can be split up across multiple
physical files. But it doesn’t have that much effect on
compiler. Partial classes are grouped together and treated as
one class. One common usage of partial class is it divides
automatically generated code from programmer written code.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

what is the difference between set and append?

3 Answers   ICICI,


write algo for cobol program whichuse three flat file to extract some specific information 8 marks mainframe

0 Answers  


how many keywords are present in "c"?

18 Answers   Assurgent, Cynosure Software, IBM,


Display names and numbers of employees who have 5 years or more experience and  salary less than Rs.15000 using array of structures (name, number, experience and  salary)

0 Answers  


This is a puzzle question .... The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another. "In the prison is a switch room, which contains two light switches labeled A and B, each of which can be in either the 'on' or the 'off' position. I am not telling you their present positions. The switches are not connected to anything. "After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must move one, but only one of the switches. He can't move both but he can't move none either. Then he'll be led back to his cell. "No one else will enter the switch room until I lead the next prisoner there, and he'll be instructed to do the same thing. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. "But, given enough time, everyone will eventually visit the switch room as many times as everyone else. At any time anyone of you may declare to me, 'We have all visited the switch room.' and be 100% sure. "If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will be fed to the alligators." What is the strategy they come up with so that they can be free?

6 Answers  






why Java is not purely object oriented?

9 Answers   Persistent,


what is apt_dump_score in datastage where it is useful

0 Answers   Accenture,


what is static objects in java

2 Answers  


Java is called as pure objerct oriented programming language, where as c++ is not completely object oriented.can any explain the detailed differenec between these two

4 Answers  


what is delimiter in sas ?

0 Answers  


How will you prove that java swing is multithreaded?

0 Answers  


what is difference between input parameter and output parameter.

0 Answers   NIIT,


Categories