how stoped result of my program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

how stoped result of my program

20th Oct 2016, 6:42 PM
Dima
2 Answers
+ 1
Console.ReadKey(); in the end of your Main is the most efficient way.
22nd Oct 2016, 5:08 AM
Hanike T.
Hanike T. - avatar
0
You mean to stop the command line window from IDE with ouput results to avoid its closing? You can use the added command Console.Readline(); as last line of your program
21st Oct 2016, 1:21 AM
Petr Hatina
Petr Hatina - avatar