Real Statements About Life

Learn about statements in C# programming. See a list of statement types, and view code examples and additional resources.

Real Statements About Life 1

This chapter covers statements in C#. Each statement is defined, as are statement blocks, statement reachability, and end points.

Real Statements About Life 2

Iteration statements. These statements provide for repeated execution of a block of code until a specified termination criterion is met. Jump statements. These statements either transfer control immediately to another location in the function or return control from the function. Declaration statements. Declarations introduce a name into a program.

Real Statements About Life 3

The statements of a C program control the flow of program execution. In C, as in other programming languages, several kinds of statements are available to perform loops, to select other statements to be executed, and to transfer control.

This chapter covers statements in Visual Basic. Each statement is defined, as are how to group statements, and the execution order of statements.

Real Statements About Life 5

C statements consist of tokens, expressions, and other statements. A statement that forms a component of another statement is called the "body" of the enclosing statement. Each statement type given by the following syntax is discussed in this section.

The topics in this section contain tables of the Visual Basic declaration and executable statements, and of important lists that apply to many statements.

Examples Following are examples of some common nested IF (AND ()), IF (OR ()) and IF (NOT ()) statements in Excel. The AND and OR functions can support up to 255 individual conditions, but it's not good practice to use more than a few because complex, nested formulas can get very difficult to build, test and maintain.

Real Statements About Life 8