Recent Posts

Catching the .NET System.Console close event

less than 1 minute read

If you created a console app in C# and you want to execute some code if the user closes the console window (by using the window close button, CTRL+C, shutdow...