February 14, 2011

Abusing using

When we went from unmanaged to managed languages we got rid of the headache of having to do manual memory management. Unfortunately that meant we also lost destructors and with them the ability to do some nice tricks. Luckily we can still do some of these tricks with the using keyword. Lets take a look