Why Partial Methods in C# ?
Partial methods in C# have been introduced to customize the type’s behavior. But how we would have done it in case if there were no partial methods. Suppose we are providing a class whose behavior we want to be customized by the user of the class. We can achieve this functionality by providing a virtual function in the class which can be overridden in the derived class as shown below.