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 / muralik.it

for the above answers, i have one doubt, c# doesnt support
inheritence instead of that we use interface..but the above
answers showing the inheritence can u plz clarifyit..thank you

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of delegates are there in c#?

466


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

518


What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

523


why delegate is type safe?

2603


Can properties be overloaded in c#?

552






Is c# substring zero based?

506


What is the difference between a private assembly and a shared assembly?

555


What is difference between static and constant variable?

530


How do you prevent a class from being inherited?

530


Is string immutable in c#?

576


Is hashset ordered c#?

503


What is a type c#?

499


Which constructor is called first in c#?

517


Do unused Namespaces in c# affect run-time performance?

524


How long does it take to learn c# programming?

471