Buy Questpond's video subscriptions on
huge discount
.
Online: 3597
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
C#
>
Loading ...
Is there an equivalent of exit() or quiting a C#.NET application ?
Posted by
Bharathi Cherukuri
on 4/23/2012 | Category:
C# Interview questions
| Views: 3416 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
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().
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< 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 ...
More ...