1
Reply

Is there an equivalent of exit() or quiting a C#.NET application?

Samir Bhogayta

Samir Bhogayta

8y
1.3k
0
Reply

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