Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Arrays won't go past 14

I have this code:

int[] numbers = new int[1000];

When I debug in Visual Studios and hover my mouse over the num array it shows the length is 1000 and then the first 14 characters are 0 and everything after that is a "?".

StupidArrays

Assigning numbers[15]+ doesn't change anything nor does it crash the program.

like image 443
ixenocider Avatar asked Nov 13 '13 09:11

ixenocider


1 Answers

I figured it out!

Thanks to @CodeCaster

It is just a bug in visual studios that glitches the values out. Just using the mouse over the arrows at the bottom work.

like image 154
ixenocider Avatar answered Sep 28 '22 02:09

ixenocider