|
-
Jul 7th, 2006, 11:33 AM
#1
Thread Starter
Hyperactive Member
[2.0] How to do a clean exit from console application.
Based on the result of my checking, I would like to exit out from the console application decently without throwing any exceptions.
static void Main(string[] args)
{
//Check to see if today is a US Holiday.
If(Holiday.IsUSHoliday(DateTime.Today));
//close the program and how to do that?
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|