+ 1

Работа в C#

Я написал свою первую программу ,она работала: всплывала ,как задумывалось,консоль,задавала вопросы,выводила некоторый результат. Когда я отправил ее другу,у него консоль всплывала на миг и сразу закрывалась. Что не так?

14th Dec 2019, 7:49 PM
Пьер
5 Answers
+ 2
Дай код
15th Dec 2019, 6:41 PM
id001x
id001x - avatar
+ 1
I used readkey. i bad speak englich. thanks
14th Dec 2019, 8:38 PM
Пьер
+ 1
Okay brother.i will make it
14th Dec 2019, 8:41 PM
Пьер
0
Try a Console.ReadKey() at the end of your program to prevent the console windows closing before you can read the results. If you run your code with ctrl-F5, it will leave the console window open. if you run your code with F5, the console window will dissappear as soon as the code is finished.
14th Dec 2019, 8:37 PM
sneeze
sneeze - avatar
0
Google translate helped me to understand russian. Your question was nice and clear. Keep asking, keep coding
14th Dec 2019, 8:40 PM
sneeze
sneeze - avatar