September 2008 Entries
Sometimes you just have to save files in the database. The reason? Because "Simon" said so. So without further ado, here is a simple example on how to compress files using C# and SharpZipLib: Read the full article here
With the new extension method feature of C# 3.5 it's now easy to extend your classes for additional functionality. Here are some useful functionalities to add to your favorite System.String: Read the full article here
ThreadAbortException: Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack. Read the full article here
Taken from the MSDN documentation: The finally block is useful for cleaning up any resources allocated in the try block as well as running any code that must execute even if there is an exception. So in other words whatever code you have in your "finally" block will always execute when an exception occurs, right? Wrong. The correct answer is - it depends on the error... Read the full article here...