lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
Expressions with lower-precedence operators are evaluated first.
A. False
B. True
Operator precedence
When an expression contains multiple operators, the precedence of the operators controls the order in which the individual operators are evaluated. The following list summarizes all operators in order of precedence from highest to lowest: 1:(* / %) 2:(+ -) 3:(< > <= =>) 4:(== !=) 5:(&) 6:(^) 7:(|) 8:(&&) 9:(||) 10:(??) 11:(?:)
Links:
C# Operators