Click here to Skip to main content
15,307,395 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I use VB.net and was curious to see why there is only support for single inheritance and whether or not interfaces are a way around this issues.

Also are there any pros and cons to using multiple inheritance other then making code simpler?

Thanks in advance
Posted

1 solution

Multiple inheritance is a pain.
There is a lot of discussion of this out there: a quick Google[^] will give you over 100,000 hits.
This is a good reason: http://stackoverflow.com/questions/225929/what-is-the-exact-problem-with-multiple-inheritance[^]
   
Comments
codechunky 11-Mar-14 5:59am
   
Excellent that is really helpful to read, thanks for the quick reply
OriginalGriff 11-Mar-14 6:12am
   
You're welcome!

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