Why multiple Inheritence is not used in C#?
Answer Posted / mayur teli
There is the classic diamond problem encountered in multiple inheritance, in which class D inherits from both B and C, which both inherit from A.
A
/ \
B C
\ /
D
So which copy of A does D get? The one from B, the one from C? Both? This way various languages resolve this problems is discussed here:
http://en.wikipedia.org/wiki/Diamond_problem
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between disposing of () and finalize() methods in c#?
What is jit (just in time)?
Illustrate race condition?
What is assembly version series sequence?
What are reflections in c#?
Can enum have methods c#?
What is a data set in c#?
Why we need get set property in c#?
Can we instantiate abstract class in c#?
What is datacontract in c#?
What are cshtml files?
What is a struct in C#?
Explain use of abstract and sealed classes in c#?
What are "class access modifiers" in C#?
Is system a class in c#?