Browsing All posts tagged under »thread.abort«

The empty try block mystery

April 10, 2008

17

Problem: I had used .NET Mass Downloader tool to download .NET 2.0 Framework sourcecode some time ago. While reading Timer.cs (System.Windows.Forms.Timer) and a couple of other classes I noticed something interesting. Does the following piece of code look odd to you? Notice the empty “try” block and all processing being done in the “finally” block.… [Read more…]

Follow

Get every new post delivered to your Inbox.