Published on May 18, 2013 by abundantcode
Filed under C#
Last modified May 19, 2013
This article have been viewed 5555 times
The ? Operator is the ternary operator and takes the following form
Expression1? Expression2: Expression3;
The Expression1 is an expression which returns Boolean result. Expression2 is considered if the Expression1 is true else Expression2 is taken.
Notify me of follow-up comments by email.
Notify me of new posts by email.