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

C# Programming Language >   OOPS Concept >   Introduction to OOP Concept  

Short Question

623


Answer:

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.


This Particular section is dedicated to Question & Answer only. If you want learn more about C# Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.