This documentation is archived and is not being maintained.
188.8.131.52 Return statements
Visual Studio .NET 2003
For a statement stmt of the form
return expr ;
- The definite assignment state of v at the beginning of expr is the same as the definite assignment state of v at the beginning of stmt.
- If v is an output parameter, then it must be definitely assigned either:
- after expr
- or at the end of the
finallyblock of a
try-catch-finallythat encloses the