使用值进行初始化之后,就不可以再使用范围变数来储存另一个值。
Once initialized with a value, the range variable cannot be used to store another value.
如果范围变数并非不变的型别,则只有当型别的所有成员都符合现有的查询结果时,查询才会忽略查询结果。
If the range variable is not an immutable type, the query will only ignore a query result if all members of the type match an existing query result.
这种循环和建构不打开一个新的范围,所以是没有出路的创造私人变数。
Loops and such constructs do not open a new scope, so there is no way to create private variables within them.
应用推荐