How to disable ALT+F4 for a console application?
I'm using a C# .NET 2.0 console application.
How can I prevent my console application from being closed with the ALT+F4 shortcut?
Is there any way to do that?
I found a solution for Winforms, but need a console app solution.