Why C# does not support multiple inheritance

added by jalpesh
6/22/2012 9:34:15 AM

3 Kicks, 773 Views

Yesterday, One of my friend Dharmendra ask me that why C# does not support multiple inheritance. This is question most of the people ask every time. So I thought it will be good to write a blog post about it. So why it does not support multiple inheritance? I tried to dig into the problem and I have found the some of good links from C# team from Microsoft for why it’s not supported in it. Following is a link for it.


2 comments

dpeterson
6/22/2012 9:34:40 AM
I personally dislike multiple inheritance, I feel like the use of interfaces are a better approach. I'm glad that Microsoft made the decision to not support multiple inheritance.

BlackWasp
6/23/2012 2:51:54 PM
I find the lack of multiple inheritance disappointing in C#. It doesn't prevent you from doing anything in terms of functionality but it does take away the ease with which you can combine functionality in inheritance relationships. I'd have preferred it to have been present.