public ConsoleMenu() { ExitMenuItem = new ConsoleMenuItem { Label = "Exit" }; }
protected void DrawMenuItem(ConsoleMenuItem menuItem) { lock (LockUiObject) { Write("{0}) ", ConsoleColor.Green, menuItem.MenuSelection); WriteLine(menuItem.Label, ConsoleColor.DarkGreen); } }