What is the difference between overriding and overloading in CSharp? DotNet C# Question 58 of 100:

Опубликовано: 28 Октябрь 2024
на канале: Tech Interview Questions
72
2

DotNet Interview Question 58 of 100:
What is the difference between overriding and overloading a method in CSharp?

Answer: Overriding is changing the implementation of an inherited method, whereas overloading is having methods of the same name but different parameters.