D
D
Deadrees2021-11-19 15:19:59
C++ / C#
Deadrees, 2021-11-19 15:19:59

Why does an empty command window open after running C# code?

619795b48a9bc933738503.png
After running the code, an empty command window opens, what's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-11-19
@Deadrees

There is no error.
It's just that you have Console.ReadLine on the second and third lines and the program is waiting for you to enter something and press enter
PS: and don't spam with tags. C++ has nothing to do with the question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question