Sunday May 1st

Friday April 29th

Thursday April 28th

Wednesday April 27th

2 Kicks

(Mis)Using IDisposable: beyond resource clean-up

Anybody who has ever done any work with files, databases and so on, in C#, has had it drummed into them that they must be good citizens and always tidy up after themselves. Usually that means using using. But did you know that the using statement has uses that go far beyond resource cleanup?


Good article!

But be careful, when i submitted my story myself once, it got deleted after a couple of minutes :-)

Lars, Thanks - I'll bear that in mind. But it does appear to be faily common practice to submit ones own stories. For small blogs like mine it's often the only way people find the articles!

There is no problem with submitting your own stories.

thanks. good to know :-) then it was a typo :-)

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network