Troubleshooting Exceptions: System.RankException

 

A RankException exception is thrown when an array with the wrong number of dimensions is passed to a method.

Associated Tips

Remarks

Since array subscripts start at 0, the lowest available subscript for every dimension is always 0.

See Also

RankException
How to: Use the Exception Assistant
Arrays in Visual Basic