请问C#支持多重继承? [英] Does C# support multiple inheritance?

查看:65
本文介绍了请问C#支持多重继承?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个同事和我有一点在多重继承的说法。我说这是不支持的,他说是的。所以,我认为我会问在网络上聪明的一群。

A colleague and I are having a bit of an argument over multiple inheritance. I'm saying it's not supported and he's saying it is. So, I thought that I'd ask the brainy bunch on the net.

推荐答案

不,使用的接口,而不是! ^。^

Nope, use interfaces instead! ^.^

这篇关于请问C#支持多重继承?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆