private static void StartOperations(HoldingPen pen) { string input = Console.ReadLine(); while (input != "end") { pen.ParseCommand(input); input = Console.ReadLine(); } }
static void Main(string[] args) { HoldingPen pen = InitializePen(); StartOperations(pen); }
public static void Main() { HoldingPen pen = InitializePen(); StartOperations(pen); }