为什么C#不支持多重继承? [英] Why C# does not support multiple inheritance?
本文介绍了为什么C#不支持多重继承?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
请让我知道为什么c#不支持多重继承.我知道它将支持多个接口继承.但是为什么要上课呢?
Please let me know why c# does not support multiple inheritance. I know it will support multiple interface inheritance. but why in the case of classes?
请告知原因.
瑞格斯
sanjay
推荐答案
看看这些链接
对此有很好的解释
http://blogs .msdn.com/csharpfaq/archive/2004/03/07/85562.aspx
http://blogs.msdn.com/nickmalik/archive/2004/12/31/344966.aspx
http:///www.c-sharpcorner.com/Language/MultipleInheritanceCB.asp
希望这会有所帮助
take a look at these links
this is explained well there
http://blogs.msdn.com/csharpfaq/archive/2004/03/07/85562.aspx
http://blogs.msdn.com/nickmalik/archive/2004/12/31/344966.aspx
http://www.c-sharpcorner.com/Language/MultipleInheritanceCB.asp
hope this helps
这篇关于为什么C#不支持多重继承?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文