Tuesday, April 29, 2014

Prevent C# console from closing on exception

Hi,


i am writing a console timer job to send automated email. every has being successfully.. but for any code, there might be some exception being surface due to unforeseen circumstances. therefore i would like to check if there is a way to stop the console from closing when there is a exception?


No comments:

Post a Comment