Explain conditional operator with suitable example
Answers
Answered by
3
A conditional operator in C#, is an anoperator that takes three operands (conditions to be checked), the value when the condition is true and value when the condition is false. If the return value of the first operand (conditional expression) is true, the second operand is evaluated.
Hope it will help you my friend
Hope it will help you my friend
Similar questions