1
Reply

Is there an equivalent of exit() for quitting a C# .NET application?

Manu

Manu

18y
19.7k
0
Reply

    Yes, you can use System.Environment.Exit(int exitCode) to exit
    it the application or Application.Exit() if it’s a Windows Forms app.