Skip to main content

Conditional Operators

In Visual Basic, we are using Conditional Operators to evaluate a condition that applied to one or two boolean expressions. An expression returning a value if the that expression is true and a different one if the expression is evaluated as false. The logical AND and OR operators both take two operands. Each operand is a boolean expression. It evaluates to either true or false. The && (logical AND) operator indicates whether both operands are true then it returns true, otherwise it returns false. Evaluating of Logical AND operators through expressions.

Expression				Results
1 && 1

Add new comment