Friday, May 28, 2010

End C# Application

To exit the own C# application via code is easy, some may not know the command though.
Therefor, you get this as today's post.
In Windows Forms - Applications the command
prompts the program to exit.
In Console Applications this command is not avaible though. In such it is possible to call the command return in the main function void Main(), to close the console.

No comments:

Post a Comment