Answer: Partial class is a keyword which is used to split the defiition of the class into multiple parts with same singature.
When complier compiles the class file ,it makes into single file.
Example:
Public partial class HRModule
{
public void DoWork()
{}
}
Public partial class HRModule
{
public void GoToLunch()
{
}
}
Asked In: Many Interviews |
Alert Moderator