| 1. | Is a constant expression that can reference variables 是可以引用变量的常量表达式。 |
| 2. | Type . a constant expression of type 类型的常数表达式可转换为 |
| 3. | A constant can participate in a constant expression , as follows 常数可以参与常数表达式,如下所示: |
| 4. | A constant expression is an expression that can be fully evaluated at compile time 常数表达式是在编译时可被完全计算的表达式。 |
| 5. | A constant expression that overrides the default numerical value of an enumeration member 可选项。重写枚举成员的默认数值的常数表达式。 |
| 6. | Provided the value of the constant expression is within the range of the destination type ,前提是常数表达式的值处于目标类型的范围之内。 |
| 7. | Any constant or constant expression that evaluates to the data type of the parameter 参数,为必选项。任何计算为参数数据类型的常数或常数表达式。 |
| 8. | Constant expressions , whose operands are all simple type constants , are evaluated at compilation time 编译时计算操作数均为简单类型常数的常数表达式。 |
| 9. | Keyword also suppresses overflow detection for non - constant expressions , which otherwise result in 关键字还取消对非常数表达式的溢出检测,这是为了避免在运行时导致 |
| 10. | In a checked context , a compile - time error occurs if the operation is a constant expression . otherwise , an 在所检查的上下文中,如果该运算是常数表达式,则发生编译时错误。 |