Understanding the Difference Between Overriding and Overloading in C#

Overriding and Overloading the two important concepts of Polymorphism

Overloading in C# is known as Static Polymorphism or Compile time Polymorphism. In Overloading we can create methods with the same name but different parameters within the same class.

On the other hand, Overriding is known as dynamic Polymorphism or Runtime Polymorphism which allows us to provide different implementation of a method in Inherited Classes.

In this article, we will learn the differences between overriding and overloading in C# with practical code examples.

Overriding and Overloading in C#

Read more >>