|
hi, I get this error it is in one of my previous questions ; What does it means ?, IndexOutOfRangeException: Array index is out of range.
(comments are locked)
|
|
You're trying to access an invalid index from a container-type variable(List/Array/Hashtable). Either the 'container' isn't initialized or you're reaching for a non-int, or a negative int. In any case, the problem is you're calling an inexistant value. or you are trying to go above the bounds of the array itself. Array of 5 objects but your trying to read index 10 for example.
Apr 20 '11 at 09:29 PM
Bryan 4
People often have an off-by-one error. Mind that an array has a range starting with 0. So an array of 3 has index: 0,1,2. 3 is already OutOfBounds.
Apr 20 '11 at 10:18 PM
Marnix
Without seeing the code that produces this error, there's nothing else to add ;)
Apr 20 '11 at 10:26 PM
Bunny83
(comments are locked)
|
