What does IndexOutofRangeException mean?

前端 未结 3 1624
梦谈多话
梦谈多话 2020-12-22 12:24

It says that in my array that I have gone over the index. My program is a Number Guessing game played by 5 players (5 indexes). I have used arrays to create the object and p

3条回答
  •  不知归路
    2020-12-22 12:34

    It means that you are trying to access an item in an array with an index higher than the limit of the array.

提交回复
热议问题