Tag Archives: using

Easy resource acquisition/disposal with yield returns

I love C#’s using keyword for quick resource acquisition/disposal. Together with foreach, it’s one of the first syntactical sugar pieces baked into C# and it’s a boon for keeping code tight, readable and maintainable. On top of the classic usages … Continue reading

Posted in Dev | Tagged , , | Leave a comment