can you overload a method of class A in Class B if it is
derived class of A?If it is yes tell me how is it possible?
Answer Posted / dhanunjaya
yes,we can overload.Most of the times we can overload a
method within same class only but overloading is possible
between classes.So internally overloading is possible in
class B.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What are the different states of a thread?
Is c# code is managed or unmanaged code?
Does unity require coding?
I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.
Why we use delegates in c#?
What is the difference while using directive vs using statement ?
What does it mean to override a method?
Why dictionary is faster than list?
What types of object can I throw as exceptions?
Can constructor be overloaded in c#?
Is versioning applicable to private assemblies?
What is inheritance in csharp?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?