Answer by Lord Darth Vader for A simple menu in a Console Application
There is a nuget package for this nowhttps://github.com/splttingatms/EasyConsoleExampleAfter adding the nuget package the Menu can be implemented the following way, This is a very Basic optionstatic...
View ArticleAnswer by Mayur Dhingra for A simple menu in a Console Application
You can use a do while loop for the purposeMake a little modification to your DispalyMenu() method and return the result like thisstatic public int DisplayMenu(){ Console.WriteLine("Football Manager");...
View ArticleAnswer by NotMe for A simple menu in a Console Application
See Console.ReadKey().Replace your main function with:static void Main(string[] args) { FootballTeams MyCode = new FootballTeams(); MyCode.ListInit(); ConsoleKeyInfo cki; do { MyCode.DisplayMenu(); cki...
View ArticleA simple menu in a Console Application
I am trying to get my menu to repeat, so after selecting and doing option 1, it will got back to the menu and ask for another option to be chosenclass Program{ static void Main(string[] args) {...
View Article
More Pages to Explore .....