Why C# doen't support multiple inheritance [duplicate]
Possible Duplicate:
Should C# include multiple inheritance?
One of my friend asked me the question i.e.Why C# doen't support multiple inheritance
Using interfaces is more flexible and eliminates the ambiguity of multiple inheritance.
Further details, HERE.
Multiple inheritance complicates the language and its implementation. I suspect the designers decided that the gains weren't worth the pains.
C#, like Java supports a way to deal with multiple inheritance by allowing a class to implement multiple Interfaces. Its not quite multiple inheritance but it can accomplish what you want to get done.
精彩评论