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
Explain About multi level and multiple inheritance how to achieve in .net
Why do we use namespace in c#?
How many types of constructor are there in c#?
What is iqueryable in linq?
What is callback function in c#?
What is the difference between namespace and class in c#?
What happens during the process of boxing?
Explain the feature of c# language?
Is c# pass by value?
Value Type and Reference Type Data type in C#?
What is a predicate in c#?
Can you have more than one namespace in c#?
How many variables do you need?
what is the equivalent to regsvr32 and regsvr32 /u a file in .net development?
Which namespaces are necessary to create a localized application?