Submitted Questions

  • What is Partial class

    Star Read Best Answer

    Editorial / Best Answer


    • Member Since May-2008 | Jun 12th, 2008

    A Partial class is a class that can be split into two or more classes. This means that a class can be physically separated into other parts of the class within the same namespace. All the parts must use the partial keyword. All the other classes should also have the same access modifier. At the compile time, all the partial classes will be treated as a single class. Let us list some advantages of having partial classes.