A friend of mine made a program for me as a favor. The program basically reads up CSV files and generates questions and answers onto the screen, and all the answers are stored in another CSV file.

Now when he made it, it was set to work for a maximum of 5 answers per question, and worked fine. I have fiddled with the code to up that to 9, and it displays fine, no errors, but when i select and answer and click "Next" I get the following error:

An unhandled exception has occured in your application. If you click Continue the application will ignore this error and attempt to continue. If you click Quit, the application will be shut down immediately. Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index.

Now unfortunately I can't contact my friend for help as he has gone away on vacation, and this is for work, so I need to get it working pretty soon...

Here is the code:

http://cyber-lane.com/Personal/form1.txt

Is anyone able to help me out here please?