# 表达式Expressions

• 除了赋值运算符和 null 合并运算符之外，所有二元运算符均为左结合 运算符，即从左向右执行运算。Except for the assignment and null-coalescing operators, all binary operators are left-associative, meaning that operations are performed from left to right. 例如，x + y + z 将计算为 (x + y) + zFor example, x + y + z is evaluated as (x + y) + z.
• 赋值运算符、null 合并 ????= 运算符和条件运算符 ?: 为右结合 运算符，即从右向左执行运算。The assignment operators, the null-coalescing ?? and ??= operators, and the conditional operator ?: are right-associative, meaning that operations are performed from right to left. 例如，x = y = z 将计算为 x = (y = z)For example, x = y = z is evaluated as x = (y = z).

C# 提供多个运算符用于执行算术逻辑按位和移位运算以及相等排序比较。C# provides a number of operators to perform arithmetic, logical, bitwise and shift operations and equality and order comparisons.