Home / Questions / What is the difference between method overloading and method overriding in C#?
Explanatory Question

What is the difference between method overloading and method overriding in C#?

👁 651 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Method parameters must be different in method overloading whereas it must be same in method overriding.

Inheritance is not required in method overloading, it occurs within the same class. But inheritance is required in method overriding.