+ 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?

19th Nov 2016, 8:36 PM
Tushar Mishra
Tushar Mishra - avatar
2 Respuestas
+ 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
20th Nov 2016, 3:23 AM
Jorge Sánchez
Jorge Sánchez - avatar
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)
19th Nov 2016, 11:26 PM
Ozan Karataş
Ozan Karataş - avatar