See Also: CodeConditionStatement Members
System.CodeDom.CodeConditionStatement can be used to represent code that consists of a conditional expression, a collection of statements to execute if the conditional expression evaluates to true, and an optional collection of statements to execute if the conditional expression evaluates to false. A System.CodeDom.CodeConditionStatement is generated in many languages as an if statement.
The CodeConditionStatement.Condition property indicates the expression to test. The CodeConditionStatement.TrueStatements property contains the statements to execute if the expression to test evaluates to true. The CodeConditionStatement.FalseStatements property contains the statements to execute if the expression to test evaluates to false.