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
Is visual c# free?
i want the csharp questions&answeres
What does convert toint32 mean?
What is Covariance and contravariance in C#?
What is cookies in c# asp net?
What are the different types of literals in c#?
What is a static in c#?
What is clr in c#?
What are generic types?
What is the difference between console and windows application?
What is a dimensional array?
Explain metadata in c#.
How many bytes is an int c#?
What are the differences between static, public and void in c#?
Is comparator a functional interface?