Why C# doesn't support multiple inheritance? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Why C# doesn't support multiple inheritance?

31st Jul 2016, 4:56 PM
S V R
S V R - avatar
1 Réponse
+ 4
When both parent classes have method named same but implemented differently it is hard to resolve witch of two method to call at child class. It just gives weird behavior.
2nd Aug 2016, 1:14 AM
Ellie Wright
Ellie Wright - avatar