其实.net中已经不支持多继承了!!类只能继承于一个类,但是可以继承多个接口!你可以把你的一个类定义成接口,如interface b 
然后class b :interface  ib 
class c :a , ib

解决方案 »

  1.   

    interface A
    {
    void F();
    }
    interface B
    {
    void Print();
    }
    class C:A,B
    {}
      

  2.   

    c # 不支持多重继承
    还有个不太好的方法你第一步  class b:a; 第二步 class c:b;
    最好用接口实现。
      

  3.   

    interface A
    {
    void F();
    }
    interface B
    {
    void Print();
    }
    class C:A,B
    {}这样的写法,A和B的实现都必须在C里面写。
    我需要的是,A和B的实现分开写,但调用C时既能调用A的方法也能调用B的方法。
      

  4.   

    在C#里面多继承只能通过多接口继承来实现。
    接口和类是不同的概念,接口是描述,类是接口的实现,所以你可以将两个Class抽象成接口,再从两个接口继承!