News for hackers. Stuff that matters.
Re:A Programming Idiom You've Never Heard Of by stevecooperorg on Wednesday January 04, 2012 @06:43AM (#3423712)
C# and VB have the `using` statement;

    using(var db = OpenDbConnection())
    {
       // read from db, connection closed on next curly.
    }

There are no comments on this comment yet.