How do you implement multiple inheritance in .NET?
Answer Posted / mahesh kotekar
The actual answer is. We cannot provide multiple
inheritance in C#. Multiple inheritance means having a
common implementation from two base class derived in the
child class which is not possible. Using interface we just
provide the prototype which we can implement in the derived
classing which provides a mimic of multiple inheritance. If
am wrong please let me know.
Thanks And Regards
Mahesh Kotekar
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
Is a c# interface the same as a c++ abstract class?
What is virtual in c#?
What are the 4 pillars of any object oriented programming language?
What is the use of list in c#?
When should I throw an exception?
What is the object class in c#?
What is assembly manifest?
What is a console device?
What is boxing? Explain its functionality?
What is difference between array and arraylist in c#?
What is .cs file in c#?
What is bit in c#?
Is comparator a functional interface?
What is a static field?
How can you access a private method of a class?