3 ms·
C# and VB have the `using` statement; using(var db = OpenDbConnection()) { // read from db, connection closed on next curly. }
by stevecooperorg 15y ago
C# and VB have the `using` statement;
using(var db = OpenDbConnection())
{
// read from db, connection closed on next curly.
}