Use Resource Statement
Binds variables to block and automatically dispose resources through the use of the IDisposable
interface.
use resource (disposable = obj)
{
// procedure
}
Binds variables to block and automatically dispose resources through the use of the IDisposable
interface.
use resource (disposable = obj)
{
// procedure
}