Explain the difference between overloading and overriding in C#?
Ankur Mehta
In overloading, function name is same but parameter is different. or Means function Signature is different. It occurs in same class.In overriding, function name and parameter is same. It happens in base and derived class and we use virtual and override key words.
Overloading is performed at compile time it is also known as static polymorphism and overriding is performed at run time and also known as dynamic polymorphism