我想在C#中实现这一点
(伪代码)
class A; class B : A; class C : A, B; ... A ac = (A)c; ... B bc = (B)c;
这可能吗?
c# multiple-inheritance
c# ×1
multiple-inheritance ×1