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 a Managed Code??
What is sqldatareader c#?
What is transparent caching with aop ?
Define Abstract Class in C#
What are different types of Delegates in C#?
Why do we need constructors?
What is namespace in oops?
Define a partial class?
What are reflections in c#?
Can mvc be used for desktop applications?
Why extension method is static?
What is difference between array and collection?
Explain the feature of c# language?
What is interface c#?
Is an array an object c#?