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


Please Help Members By Posting Answers For Below Questions

What is bitwise operator in c#?

513


What is the advantage of extension method in c#?

466


Is null c# operator?

547


Wcf and what is difference between wcf and web services?

491


Explain circular reference in c#?

552






Is there a way to force garbage collection?

499


Which string method is used for concatenation of two strings in c#?

475


Tell me the difference between value passing and address passing?

634


What is the difference between protected and internal in c#?

468


Explain the use of Mutex in C#?

564


What is the use of console readkey ()?

491


What are access modifiers in c#?

552


What does string intern do?

490


To create a localized application which namespaces are necessary?

527


How can you access a private method of a class?

513