任何隐含型别变数的规则都适用于隐含型别阵列。
The rules for any implicitly-typed variable also apply to implicitly-typed arrays.
然而,您应该避免这样做,因为使用列举变数,即隐含意味著列举变数只会持有列举所定义的其中一个值。
However, you should not do this because the implicit expectation is that an enum variable will only hold one of the values defined by the enum.
编译器隐含地扩大并正负号扩展了变数,然后在位元的OR运算中使用该结果值。
The compiler implicitly widened and sign-extended a variable, and then used the resulting value in a bitwise OR operation.
应用推荐