What is reason for the use of Partial Classes in .net?

 Posted by Akiii on 5/18/2012 | Category: ASP.NET Interview questions | Views: 3382 | Points: 40

Partial Classes are used when there is some class which is big enough to have multiple number of developers implement the methods in it. This class can be separated and written in different files with the same class name and with a keyword "partial" appended in front of them.

Physically partial classes may be separate but logically they are treated as a single file by the compiler.

Thanks and Regards

| Alert Moderator 

Comments or Responses

Posted by: Ajay.Kalol on: 5/30/2012 | Points: 10
Also Partial Class allow multiple developer to work on same topic. I mean same task
Posted by: Akiii on: 5/30/2012 | Points: 10
Yes Ajay.....that I have already mentioned !

Thanks and Regards

Login to post response