title: catch all exceptions in the application with just one try-catch
body: <p>Is there any way to catch all the excepions within an application at Main() with a single try-catch irrespective of threads and appdomains within the application??</p>
  
  <p>In other words I just want to use one try-catch to log all the errors in my application instead of using multiple try catches in various places.</p>
  
  <p>Would appreciate any ideas or code snippets...</p>
  
  <p>Edit: I'm using a Console application and Windows Service.</p>