what is the use of the Environment.Exit() method?

Tuesday, December 29, 2009


Terminates the program and gives the return value to os as exit code.


www.codecollege.NET

what is the use of Application.Exit() method?


Notifies all message loops to quit, closes windows opened by them and closes program.


www.codecollege.NET

Daily Tips- Tip #44 - How to exit c# applications?


You can exit using the following 2 static methods,
1. Environment.Exit(returnval)
2. Application.Exit()


www.codecollege.NET

Daily Tips- Tip #43 - What is the use of checked keyword in c# ?


it is used to apply range checking to an operation.


www.codecollege.NET
Blog Widget by LinkWithin