Prevent the exit button from closing console application - C#