105 Contributors: 8
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook

Using Directive

Download c# eBook


The using keyword is both a directive (this topic) and a statement.

For the using statement (i.e. to encapsulate the scope of an IDisposable object, ensuring that outside of that scope the object becomes cleanly disposed) please see Using Statement.

Related Examples