Keywords – using

using is used to include a namespace or to force Dispose() once using scope is exited.

Dispose() is available in all classes implementing IDisposable.

using(SomeClass objx = new SomeClass())
{
//We can use objx here, and once we are out of here, Dispose()
//of objx will execute !
}