The class declaration with the keyword partial is denoting that the class is a partial class. Physically the partial classes can be available in different files/locations. The C# compiler treat them as a single class at the time of compilation. public partial class PartialClassExample { public void MethodOne( int input) { /// Do something . } } public partial class PartialClassExample { public string MethodTwo( string input) { return string .Format( "Hello, {0}" , input); ...
Sharing work experience and knowledge in Computer programming. If you have any questions in Microsoft technology stack, JavaScript frameworks/platforms, Cloud Programming, Containerization and etc... Please write in comments. We'll try to provide the solutions as soon as possible.