ok. For what you wanna do, you can use a datatable with three datacolumns to store:
1. A question ID
2. The question
3. The Answer
For populating this table with the questions, you have two options; an external datasource (database, text file or xml file) or you can hard code the questions in your vb.net code. Considering you are new to vb.net, I would say hard code it for now. The limitation is that you will have to recompile the program if you wanna add questions. But, for right now, you want to get everything up and running, so hard code it in.
Now, lets say you wanna store 50 questions, then you start populating the datatable with the question id datacolumn running from 0-49. Then when you want to fetch a new question, generate a random number between 0 and 49. Based on the generated number, fetch the corresponding question from the datatable. The lable's text property would set the question like so:
Code:
lable.text = datatable.row(generated_random_number).item(1)
//the .item(1) refers the data in the second column since the first column has an index of 0.
When he enters his answer, test it against the answer column which you could reference like so:
Code:
datatable.row(generated_random_number).item(2)
//with .item(2) reffering to the third column, the answer column.
If he gets it right, simply change the labels text property to "Correct" or "Wrong! Ha Ha" if he gets it wrong.
Another tip; store the random generated integer variable globally. Meaning declare it withing the class but outside of all your methods. This ensures that all methods can access the same variable.
I hope this will give you a head start. It was fun helping out since I love working with .NET. If you have any more questions, just post it. Happy Coding!