4
可能重複:
Should C# include multiple inheritance?爲什麼你不能在c#中做多重繼承?
爲什麼不C#支持多重繼承?
public partial class Child: Parent1
{
void MakeParent1Mad();
}
public partial class Child: Parent2
{
void MakeParent2Mad();
}
看到http://stackoverflow.com/questions/191691/should-c-include-multiple-inheritance – 2010-08-04 18:31:06