hi
i am writing a console app in C# and have to stop the application if an 
error occurs .

Code:
if (type == msg.ERROR || type == msg.SORRY)
         {
             //write code that will exit the program till better option 
of multithreading
         }
I used to do it with exit() function in c++ but dont know the correct 
method in C# 
plz help





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/XGgtlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Microsofts_C_Sharp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to