-3
爲什麼我不能做這樣的事情在C#(僞代碼如下)接口繼承和派生類
Interface1
{
Method1();
}
Interface2 : Interface1
{
Method2();
}
Class1 : Interface1
{
Method1()
{
}
}
Class2 : Class1, Interface2
{
Method2()
{
}
}
究竟是你的問題,還是錯誤,你正試圖解決? – ashes999 2012-03-22 13:42:51
可能因爲只有一半的代碼是有效的C#語法。你有沒有編譯的實際C#代碼? – 2012-03-22 13:44:44
在方法名稱 – 2012-03-22 13:45:05