10. Statements
Visual Studio .NET 2003
Statements represent executable code.
A method is executed by first initializing all of its parameters to their correct values and initializing all of its local variables to the default value of their types. After parameter and local variable initialization, the method body block is executed. After the method block has been executed, execution returns to the caller of the method.
Statement ::= LocalDeclarationStatement | WithStatement | SyncLockStatement | EventStatement | AssignmentStatement | InvocationStatement | ConditionalStatement | LoopStatement | ErrorHandlingStatement | BranchStatement | ArrayHandlingStatement StatementTerminator ::= LineTerminator | :
See Also
10.1 Blocks | 10.2 Local Declaration Statements | 10.3 With Statement | 10.4 SyncLock Statement | 10.5 Event Statements | 10.6 Assignment Statements | 10.7 Invocation Statements | 10.8 Conditional Statements | 10.9 Loop Statements | 10.10 Exception-Handling Statements | 10.11 Branch Statements | Statements (Visual Basic Language Reference)