Array lower bounds can be only '0'

A declaration statement or New clause specifies an array with a lower bound other than 0.

When you create or initialize an array variable, you can optionally specify the upper bound of each dimension. If you do, the length of that dimension becomes the upper bound plus one, because the lower bound is always zero. You can optionally specify the lower bound as well, but you must specify 0. The advantage of doing so is that your code is easier to read.

Error ID: BC32059

To correct this error

  • Change the lower bound specification to 0, or remove it entirely.

See Also

Tasks

How to: Specify a Zero Lower Bound on an Array

Other Resources

Arrays in Visual Basic