public static void InitMenu() { Console.Title = "Animal Manager"; new ConsoleMenu() .Add("Animals", () => AnimalManager.AnimalMenu()) .Add("Categories", () => CategoryManager.CategoryMenu()) // TODO Bæta við categories .Add("Quit", () => Environment.Exit(0)) .Configure(c => { c.WriteHeaderAction = () => Console.WriteLine("Animal Manager\n"); c.Selector = "--> "; }) .Show(); }