Explain what is short-circuit evaluation in C#

Technology CommunityCategory: C#Explain what is short-circuit evaluation in C#
VietMX Staff asked 3 years ago

Short-circuit evaluation is a tricky method for evaluating logical operators AND and OR. In this method, the whole expression can be evaluated to true or false without evaluating all sub expressions.