Compartilhar via


Sid's Blog

everything should be made as simple as possible, but no simpler

Invert Dictionary

using System.Collections.Generic;using System.Linq;namespace ExtensionMethods{ public static class...

Date: 06/01/2012

Compressing MemoryStreams with GZipStream

There is a silly pattern to follow while Compressing MemoryStreams with GZipStream. It is documented...

Date: 03/26/2011

Writing a console app that access Azure Storage

Yes, it is possible to write a console app that accesses Azure Storage. I encountered several...

Date: 07/22/2010

Dispose Lessons

I recently read a number of excellent articles on Dispose. I will try to synthesise the practical...

Date: 10/14/2009

C# Quirks - finalizer is called if constructor throws an exception, but it is NOT called if method throws an exception

Edit: Make sure to read the comment by Kevin Thompson Test it out like this class Foo { public...

Date: 10/12/2009