overriding abstract methods in an inherited abstract class
Okay so basically I have the following problem: I'm trying to have an abstract class inherit another abstract class that has an abstract method, but I don't want to implement the abstract method in either of them because a third class inherits from both of them: public abstract class Command { public abstract object execute(); } public abstract class Binary : Command { public abstract object execute(); //the issue is here } public class Multiply : Binary { public override object execute() { //do stuff } } I'm trying to separate binary commands from unary commands but don't want to/can't