what is overloading & overriding
Answer Posted / vishal shah
Overloading is simply the 2 or more than two functions with
different signatures.
Overriding is related with Polymorphism, where virtual
function declared in base class is override in the derived
class with the same name. And compiler during runtime
decide which function to be called based on the object
(Base Class or Derived Class) used to call this function.
Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is difference between property and variable in c#?
Does c# support multiple inheritance (mi)?
What is data binding with example?
Is typeof c#?
What is extension method in c# and how to use them?
If you want to convert a base type to a derived type, what type of conversion do you use?
Which class comes after the SortedList class?
Can a class be protected in c#?
What is dapper in c#?
How do you prevent a method from being overridden in c#?
What is nameof c#?
what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?
What is difference between function and method in c#?
What are access modifiers used for?
How to prevent the error while updating ui control from another thread?