Tuesday, 11 August 2015

What is use of Partial Class in .Net

            It was a new feature that has been added in c# 2.0 . Which allows you to define a class on more than one file. If we want to define a class in multiple files , the name of the class in all files should be same.

  • Splitting of huge volumes of code or splitting of related code makes it easier to manage.
  • Gives a flexibility for multiple programs to work on the same class.

No comments:

Post a Comment