elloco999
Well-known member
- Joined
- Dec 21, 2004
- Messages
- 49
- Programming Experience
- 5-10
Hi,
I have a small console app that asks the user to press enter t exit. This is done, to let the user read the output before closing the app.
I would like to change this, so that the user can press any key, instead of just enter. How can I do this?
Greetz,
El Loco
I have a small console app that asks the user to press enter t exit. This is done, to let the user read the output before closing the app.
VB.NET:
[size=2]Console.Write("Press The 'Enter' key to close the application.")[/size]
[size=2]Console.Read()[/size]
I would like to change this, so that the user can press any key, instead of just enter. How can I do this?
Greetz,
El Loco