且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如果C#有多重继承?

更新时间:2023-09-23 19:43:52

我从来没有错过一次,不是永远。是的,它[MI]变得复杂,是的,接口确实在很多方面类似的工作 - 但这还不是最大的一点:在一般意义上,它根本不需要的大部分时间。即使是单继承过度使用在许多情况下。

I've never missed it once, not ever. Yes, it [MI] gets complicated, and yes, interfaces do a similar job in many ways - but that isn't the biggest point: in the general sense, it simply isn't needed most of the time. Even single inheritance is overused in many cases.