Hi all
I'm changing a C++ style code into C#, and naturally facing some problems. in the original C++ code I had 3 classes and a function in all of them, as shown below:
how can I do such a thing?Code:public class A{
public void tick();
}
public class B: A
{
public override void tick();
}
public class C: B
{
public override void tick(){
...
A::tick(); //calling the second-level base class method
}
}