Categories

May 6 in C Sharp (C#)
Q: What is the difference between method overloading and method overriding in C#?

1 Answer

May 6

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 C Sharp
Click here to read more about Insurance

Related questions

Madanswer
Jun 16, 2019 in JAVA
May 6 in C Sharp (C#)
Oct 18, 2019 in C Sharp (C#)
...