This documentation is archived and is not being maintained.


The using keyword has two major uses:

  • using Directive   Creates an alias for a namespace or imports types defined in other namespaces.
  • using Statement   Defines a scope at the end of which an object will be disposed.

See Also

C# Keywords | namespace