Catching the .NET System.Console close event
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...
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...