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
What is the use of return in c#?
What is reflection in c#?
What is lazy t?
What is the solution if you need to manipulate sets of items?
Where value types are stored in c#?
Explain the accessibility modifier protected internal?
What is c sharp language?
Why ref is used in c#?
What is the difference between decimal and integer?
Can abstract class be sealed in c#?
What is disco?
What can we do to handle multiple exceptions?
What is IL / CIL / MSIL?
What is selector c#?
Differentiate between static class and singleton instance?