Alois Kraus


  Home  |   Contact  |   Syndication    |   Login
  124 Posts | 8 Stories | 330 Comments | 162 Trackbacks


Article Categories


Post Categories

Image Galleries


October 2006 Entries

All good things have to end even your perfectly working managed executable. But do you know in what circumstances the CLR will terminate your program and much more importantly when do you have a chance to run some finalizers and shutdown code? As always in live it depends. Lets have a look at the reasons why program execution can be terminated.Ways to terminate an application: The last foreground thread of an application ends. The thread which entered the Main function is usually the only foreground ......