public enum Operator { Add,Subtract,Multiply,Divide, AbsoluteValue } public abstract class NodeBase { } public class NumberNode : NodeBase { public int Value; } public class