This documentation is archived and is not being maintained.

5.3.3.17 Using statements

Visual Studio .NET 2003

For a using statement stmt of the form:

using ( resource-acquisition ) embedded-statement
  • The definite assignment state of v at the beginning of resource-acquisition is the same as the state of v at the beginning of stmt.
  • The definite assignment state of v on the control flow transfer to embedded-statement is the same as the state of v at the end of resource-acquisition.
Show: