C
C#16mo ago
Austin9675

Read file C#

Without the Console.ReadLine(); the console closes immediately, So how can I get the code to read the file and stay open without the readline
8 Replies
SinFluxx
SinFluxx16mo ago
As far as I'm aware you will need something like that while you're debugging
Pobiega
Pobiega16mo ago
That, or use the setting in Vs to "keep window open after debugging" or something like that It's a toggle somewhere in the options
SinFluxx
SinFluxx16mo ago
ah wasn't aware of that!
Pobiega
Pobiega16mo ago
something something Rider user
Pobiega
Pobiega16mo ago
The Cyotek Blog
New option in Visual Studio 2019 keeps console window open after de...
A brief note on a small change made to Visual Studio 2019 that may be helpful for debugging .NET Core console applications.
Pobiega
Pobiega16mo ago
Best I can find on mobile Only works on modern dotnet
mtreit
mtreit16mo ago
My answer to this is just to run the program from a terminal window instead of from Visual Studio, although yes now there is an option to keep the window open and not close it in VS.
Austin9675
Austin9675OP16mo ago
ty
Want results from more Discord servers?
Add your server