Click here to Skip to main content
15,746,759 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
I am sanindra Kumar sunny. I have been working for one year as 3.5 developer. In c# we cannot inherit class from more than one class, that means multiple inheritance is not supported. Instead of that we can implement more than one interface. To do multiple inheritance I would like to ask why c# doesn't support multiple inheritance?
Updated 25-Nov-10 18:51pm
JF2015 26-Nov-10 0:53am    
Edited to correct grammar and spelling.


see this link from msdn that explains why:[^]
Share this answer
It's not that C# can't support multiple inheritance, it's that the C#
developers chose not to support it.
There is a history of overly-complex situations that arise from MI that
easily lead to issues with ambiguous name resolutions as well as weak
inheritance trees, where the design becomes unmaintainable and/or unusable.
Share this answer
spydeehunk 26-Nov-10 1:13am    
ya its fine...but can u explain me in technical term or in more specific...the answer u hv posted is fine but i m nt satisfied fully...
srry to say

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900