static void Main(string[] args) { var screen = new ConsoleScreen(); var keypad = new ConsoleKeyPad(); var atm = new Atm(screen, keypad); if (atm.Start()) { screen.WriteLine("Logged in"); atm.Menu(); } }
public override void WriteLine(string format, params object[] args) { base.WriteLine(format, args); _console.WriteLine(format, args); }