0
why the c# programs shut down automatically after after finishing the process?
5 Respuestas
+ 1
an easy way to prevent it is putting a readline at the end of your code
+ 1
Unless you write your program in a loop it thinks the programis over
0
may be because it assumes that the user would run the application from console window! then automatic shut down is a good way!
0
You need a loop. When you want it to stop use break.
0
put Console.ReadKey(); at the end of your code.