0 votes
in C Sharp by
What is the difference between method overloading and method overriding in C#?

1 Answer

0 votes
by

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.

Related questions

0 votes
asked Oct 22, 2020 in JAVA by sharadyadav1986
0 votes
asked May 25, 2020 in JAVA by Robindeniel
...