partial class code example
Example 1: C# define class in multiple files
public partial ClassName
{
// code
}
Example 2: partial class C#
public partial class Employee
{
public void DoWork()
{
}
}
public partial class Employee
{
public void GoToLunch()
{
}
}