What is the command in C# for exit a Console Application?
You can use Environment.Exit(0); and Application.Exit
Environment.Exit(0);
Application.Exit
Environment.Exit(0) is cleaner.
Environment.Exit(0)
1.4m articles
1.4m replys
5 comments
57.0k users