public static int FlexMenu(string task, int max, int min) { Console.ForegroundColor = ConsoleColor.White; Console.WriteLine(task); int choice = Easy.Choice(max, min, "Ошибка. Выберите пункт из меню:"); Console.WriteLine(); return(choice); }