in C Sharp by
Q:
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.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Oct 12, 2020 in JAVA by Robindeniel
0 votes
asked May 6, 2020 in C Sharp by SakshiSharma
0 votes
asked Oct 18, 2019 in C Sharp by Robin
0 votes
asked Oct 18, 2019 in C Sharp by Robin
0 votes
asked Feb 16, 2020 in C Sharp by rahuljain1
+1 vote
...