Microsoft,  Visual Studio 2017,  Visual Studio 2019

It’s Always the Little stuff

How many times over the years of using Visual Studio have I’ve added the two lines of code to my console apps (mostly quick simple or testing console apps):

Console.WriteLine("**Press");
Console.ReadLine();

I know it’s been there since sometime in Visual Studio 2017 … Yes the setting that removes the need for those two lines of code…

Tools => Options => Debugging => General… The magic check box labelled:

‘Automatically close the console when debugging stops’  

The simple sweetness of that single setting!  A Millionth of a Penny for every time I had to go back in put those two lines of code in my console apps…

I humbly submit this as proof positive… that it is the simple things that make the difference! 😎

ScottGeek

Leave a Reply