GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing syntaxdb.com — If Statement in C# - SyntaxDB - C# Syntax Reference
LanguageVersion: 5Categories
Control FlowIf Statement in C#To control decision making by checking true/false statements resulting in different executions of code if result is true and if the result is false. SyntaxNotesbooleanExpression(s) are those that result in either a true or false output. They are created using comparing operators (==, >, =, <=, !=). There can also be multiple boolean expressions within the parentheses (booleanExpression). The boolean expressions are connected through logical operators (&&, ||, !). Else if statements allow for another boolean expression check within the overall if structure. Else statements result in the execution of code if the if statement (and if applicable, the if else statement(s)) do not hole true. Nested if (else) statements are also possible and are the inclusion of another (or multiple) if statements within an if statement structure. Example
|
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |