Many a times, we use the catch block inside the try catch block for our clean up code. Something like try { // Do something } catch { // work failed, clean up code here } Rather than the above approach of using the catch block, it would be nicer to use the finally block, something like bool workSuccessful...
Want to learn more about Visual Studio 2005 . MSDN magazine folks have come up with a new issue dedicated solely to the new IDE. Check it out online at http://msdn.microsoft.com/msdnmag/issues/06/00/default.aspx
Check out http://blogs.msdn.com/csharpfaq/archive/2006/03/20/556192.aspx for a FAQ on Hashtable lookup for value types.