C# Coding Help???
Go to solution
Solved by vorticalbox,
4 hours ago, NovaMan01 said:I am trying to make a program that when you enter in a certain number, it outputs a response. I have had some success, but everytime it outputs, it closes a second later. Any ideas on how to make it not close until some user inputted command is done?
add Console.ReadKey() at the end of the file this will make the console wait for a key to be pressed before closing.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now