我可以将抽象函数设置为抽象函数吗?我可以这样做吗?
public abstract class A
{
protected abstract void WhateverFunction();
}
public abstract class B:A
{
protected abstract void WhateverFunction();
}
public abstract class C:B
{
protected override void WhateverFunction()
{
//code here
}
}
如果没有,我该怎么做才能模拟这种行为?
GCT1015
相关分类