Terminate Windows Form app with C#

Hi experts!

I have project with C#  , WindowsForms and Framework 2.0 with VS2008. Is there command in C# witch terminate application and let Windows to clear used resources? I need this in client server app and if I detect droped of connection via Interenet I need to close application. And I dont have easy way to close all my form and objects in all code, that is why I need commad like End in VB6.
Who is Participating?
SRigneyConnect With a Mentor Commented:
I believe you can use Application.Exit.   http://geekswithblogs.net/mtreadwell/archive/2004/06/06/6123.aspx
Prehaps 'Application.exit' is what your after

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.