private Program() { m_stack = new CalculatorStack(); m_display = new Display(m_stack); }
public Display(CalculatorStack stack) { m_stack = stack; m_inputs = new CircularBuffer <Tuple <string, string> >(Console.WindowHeight); }