❔ System.IndexOutOfRangeException: 'Index was outside the bounds of the array.'
Why cant i use the int mainStory inside my array?
Im making a text based story adventure and i wanted to be able to control the output with one line of code and adding mainStory++ so when it loops round it plays the next line of the story.
c# doesnt want to let me. the picture should clear it up for you.
Thanks Tom
System.IndexOutOfRangeException: 'Index was outside the bounds of the array.' Im making a text based story adventure and i wanted to be able to control the output with one line of code and adding mainStory++ so when it loops round it plays the next line of the story.
c# doesnt want to let me. the picture should clear it up for you.
Thanks Tom
