Home > Articles > Branching Statements & Operators in C#, Conditional Operators, If Else
Branching Statements & Operators in C#, Conditional Operators, If Else
Conditional Operator General Syntax: (Condition) ? True : False Example: (A > C) ? "A is greater than C" : "A is not greater than C"
Conditional Operator
General Syntax: (Condition) ? True : False
Example: (A > C) ? "A is greater than C" : "A is not greater than C"