Hi Guys, I have this list on a line in the Console:
<Tutorial> <Add Event> <Edit Event> <Remove Event> <Exit>
What I would like is to be able to use the Left and Right arrow keys to select the option the user wants. Signified by the item being underlined. EDIT: Underlined is preferred however research suggests it may not be possible. So I am open to suggestions.Code:private static void startup() { Console.WriteLine("Welcome to the Console Calendar. What would you like to do?"); Console.WriteLine("<Tutorial> <Add Event> <Edit Event> <Remove Event> <Exit>"); }
Visual Example:
<Tutorial> <Add Event> <Edit Event> <Remove Event> <Exit>
I am guessing I will need a to set up some sort of keypress method for the arrow keys, but haven't a clue how to put it together to achieve what is needed.
Hope someone can help me![]()




Reply With Quote
