Monday, March 30, 2015

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

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

Answer: </P><P align=justify>Yes, you can use System.Environment.Exit(int exitCode) to exit the application or Application.Exit() if it&#39;s a Windows Forms app.

Tags:Interview Questions, Microsoft, C#,

Please submit your Interview Answer for the above Question via replying to this post. Thank you for visiting to our blog, Have a Good Day!.



Sponsor Advertisement



Human Resource Management Software

Human Resource Management Software

Powerful, configurable software for human resources management that is easy to manage and remarkably cost-effective, whatever the size of your company. Now there’s a smarter, more efficient way to handle all of your people-related activities. Easy-to-use system manages the full hire-to-retire lifecycle...

No comments:

Post a Comment