+ 2
Do c# supports multiple inheritance?
I was reading inheritance and was walking through different websites, some of them says it doesn't support multiple inheritance however some of them says it does. do anyone have clear views on it?
2 Réponses
+ 4
no c# doesn't support multiple but you can do multiple with an interface but that isn't multiple inheritance is just used multiple interfaces
0
the class can just one class inherit(not more because of this reasen, u can say, it is not multiple inheritance) but u can more then one Interface inherit, so it can allow u multiple inheritance. I think, the problem is what is really multiple inheritance! ( i hope, i can help you)