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
what is the syntax to inherit from a class in c#?
What is the difference between internal and protected in c#?
What are primitive types in c#?
What is clr in c#?
What is c# windows form application?
Is array value type in c#?
What is an enumerator in c#?
How long does it take to learn c# for unity?
Explain about CTS?
What is inline function in c#?
What is response redirect in c#?
What is the default boolean value in c#?
How can I produce an assembly?
Can u list some style properties of List Box?
How can you prevent escaping on backslashes in C# with string definitions?