An array size initializer is a modifier on the name of the variable that gives a set of bounds denoted by constant expressions. The set of bounds are equivalent to a variable initializer of an array creation expression with the given bounds. For example, "x(i, j) As T(,)
" is equivalent to "x As T(,) = new T(i, j) {}
". If an array element initializer is specified, each argument in the argument list must be a constant and the rank and dimension lengths specified by the expression list must match those of the array initializer.
If a variable declaration includes an array type modifier on its type and an array size initializer, the number of dimensions given in the two modifiers must match. If no array type modifier is used, then the number of dimensions of the array type is inferred from the array size initializer.
(
InitializationRankList )
,
Expression