Implicitly typed arrays, a form of array creation and initialization that infers the element type of the array from an array initializer.
数组创建和初始化的形式,它从数组初始化器推导出数组的元素类型。
The rules for any implicitly-typed variable also apply to implicitly-typed arrays.
任何隐含型别变数的规则都适用于隐含型别阵列。
In the previous example, notice that with implicitly-typed arrays, no square brackets are used on the left side of the initialization statement.
请注意,在上一个示例中,没有在初始化语句的左侧对隐式类型的数组使用方括号。
Implicitly-typed arrays are usually used in query expressions together with anonymous types and object and collection initializers.
隐含型别阵列通常是在查询运算式中与匿名型别及物件和集合初始设定式一起使用。
Implicitly-typed arrays are usually used in query expressions together with anonymous types and object and collection initializers.
隐含型别阵列通常是在查询运算式中与匿名型别及物件和集合初始设定式一起使用。
应用推荐