Possible Duplicate:
Why is Multiple Inheritance not allowed in Java or C#?
Can anyone explain why ca开发者_StackOverflownnot we use multiple inheritance, multi-level inheritance, hybrid inheritance in asp.net C#, but Framework was built with reference to OOPS concept available in C++, C++ has multiple, multi-level, hybrid inheritance.
We can find the examples in many books of C++, i want know what exactly made us to avoid such types of inheritance, and due to this we started using, Interfaces, Shadowing, etc concepts in C#.
Any single detail will help me to research on this topic,
Thanks
C# obviously supports multi-level inheritance though it doesn't support Multiple Implementation Inheritance directly but they do support Multiple Interface Inheritance. For further clarification look at this link. I hope this will clear your doubts. Cheers !!!
精彩评论