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

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

Read Online C# (Sharp) Programming Language Job Interview Questions And Answers