You are referencing the array beyond the bound you set for it.
With Debug ON, you will be told this regardless, but with Debug OFF, you may/may not be notified, and the program may just unexpectedly crash.
So, the moral of the story is to use Debug unless you are creating a release version of your program.
With Debug ON, you will be told this regardless, but with Debug OFF, you may/may not be notified, and the program may just unexpectedly crash.
So, the moral of the story is to use Debug unless you are creating a release version of your program.