C#C
C#2y ago
24 replies
WantToBeeMe

Console.WriteLine does nothing

So i am away from my PC for a bit, and so i moved to my laptop to code there for a few days.
However, for some reason the same project that i was working on works on my laptop, but just Console.WriteLine does nothing anymore.

It also is not the IDE that is the problem. In fact, i could even open the project in my cmd and run
dotnet run
and all the
Console.WriteLine()
do nothing.

In order to actually see something i e.g. have to use
MessageBox.Show("hello world")
image.png
Was this page helpful?