I want to my app shows:
press any key to exit ...
And when I pressed any key, it exits.
How can I achieve this?
Note: I have googled but all of what I've found needed to press enter at the end. I want something like Console.ReadKey()
in C#.
I am running MS Windows.