Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
Is there an equivalent of exit() or quiting a C#.NET application ?
on 4/23/2012 | Category:
C# Interview questions
| Views: 1379 |
Yes, you can use System.Environment.Exit(int exitCode) to exit the application.
If it is a Windows Forms App, you can use Application.Exit().
Many Interviews |
< Previous :
IS goto statement supported in C# ? How about Java ...
Next > :
Is it possible to restrict the scope of a field/me ...
Comments or Responses
Login to post response
More Interview Questions by Bharathi Cherukuri
Is it possible to restrict the scope of a field/method of a class to t ...
IS it possible to have different access modifiers on the get/set metho ...
Does C# has its own class library ?
Is it possible to debug the classes written in other .Net languages in ...
Where we can use DLL made in C#.Net ?
Can I use exceptions in C# ?
Are all methods virtual in C# ?
How do I declare a pure virtual function in C# ?
Latest Interview Questions
What is metadata?
Difference between Finalize() and Dispose()?
What is Identity?
Is there a way to decrypt stored procedure?
How to get the nth row value of a table.
How to get record of nth row of a table ?
What is sp_config command?
Which of the following attributes should you add to a class to enable ...