What does the term "Ternary operator" mean?

Operators that affect three variables.

There’s only one of these in C# and it’s also called a conditional operator.

You have a statement and provide a value for if that statement is true, and one for if it is false.

So, “x=3” is the statement, “X is 3” can be the value for true, and “X is not 3” can be the value for false.

Leave a Reply

Thank you for choosing to leave a comment. Comments may be moderated.