foreach语句语法:
foreach_statement foreach语句
局部变量类型 标识符 in 表达式(例如:数组对象)
: 'foreach' '(' local_variable_type identifier 'in' expression ')' embedded_statement 嵌入式语句
;
The type and identifier of a foreach statement declare the iteration variable of the statement.
foreach语句的类型和标识符声明语句的迭代变量。