Answer Posted / chandana
Method overloading are of two types: Compile-Time and Run
Time.
The compile time overloading is achieved by providing
different method signatures. Whereas, the runtime is
achieved by using the same method names for a hierarchy of
classes, (parent and child classes using the same method
signature); In this case, behavior of the method call is
decided at run time.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Do we get an error while executing the “finally” block in c#?
How do you prevent a method from being overridden in c#?
what is IFormatable
Tell me the difference between value passing and address passing?
What is an object and a class?
What is _layout cshtml?
What is the use of command builder?
How Do You Convert A Value-type To A Reference-type?
What is the difference between disposing of () and finalize() methods in c#?
How garbage collection deals with circular references.
What is the lock statement in c#?
What is the purpose of ienumerable in c#?
Why is ienumerable used?
What is an Interface in C#?
Is c# dictionary a hash table?