Q:

How do short-circuited operators work?

0

How do short-circuited operators work?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

In C# a short-circuit operator can be used in a bool expression only. it will return true and depending on the condition in the control statement.

If the short-circuit finds an operand that can reflect the result of the expression then it will stop checking the remaining operands and execute the condition true or false that is being reflected by the operand.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C# Interview Questions and Answers,You Need To Know

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is the “volatile” keyword used for?... >>
<< What is the difference between ‘protected’ and...