1.

What are partial classes in C#?

Answer»

Partial classes implement the functionality of a single class into multiple files. These multiple files are combined into ONE during COMPILE time. The partial class can be created using the partial keyword. 

PUBLIC partial Clas_name { // code}

You can easily split the functionalities of methods, interfaces, or structures into multiple files. You can EVEN ADD nested partial classes. 



Discussion

No Comment Found