Why multiple Inheritence is not used in C#?

Answer Posted / a b

Implementing from multiple interfaces is not true multiple
inheritance. The objective of inheritance is code reuse,
which is attained only when the base class contains that
code. But since an interface does not contain any code code
at all, there's no code reuse happening at all. Instead, an
implementing class needs to provide code for each and every
method defined in a class.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I run managed code in a process?

710


What is difference between sleep () and wait ()?

680


What is difference between yielding and sleeping?

630


What is use of console?

658


Why we need get set property in c#?

711


Explain About Iunknown interface Queue

709


What does string intern do?

651


Is vs as c#?

690


What is difference between arraylist and list in c#?

600


Define an array?

700


What is the difference between “dispose” and “finalize” variables in c#?

683


Is static thread safe?

650


Can constructor be private c#?

638


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

648


Enlist some of the properties of a thread class?

688