I would like to be able to trap CTRL+C in a C# console application so that I can carry out some cleanups before exiting. What is the best way of doing this?

9 Answers
9

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *