LANGUAGE
Conditional OR ||
For bool, evaluates the right operand only if the left is false.
Formal Syntax & Structure
csharp syntaxcsharp
a || bWorking Example
Example Snippetcsharp
bool ok = true || false;For bool, evaluates the right operand only if the left is false.
a || bbool ok = true || false;