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

Explain About disco and uddi

702


What is the benefit of interface in c#?

477


Is hashset ordered c#?

501


What is for loop in c#?

505


Can abstract class have parameterized constructor?

499






What are the examples of data types?

488


What is appdomain in c#?

488


what is the purpose of using statement in c#

551


Is an interface a type c#?

517


What is data set in c#?

502


What are the collections in c#?

476


Why we use get and set property in c#?

519


Can you inherit from a sealed class?

494


How to implement delegates in c#.net

549


What is list collection in c#?

523