Geekpedia Forums Logo

VISUAL Studio VB.Net Quiz application

by Yoni Nijs on Sunday, May 7th - 1:38 PM



Hi,
I am making a quiz in VS.NET visual basic,the quiz got 200questions divided in 4 groups each divided in classes of 10 questions,i was wondering where should i put my arrays with data and how can i retrieve it(notice the performance)

for example this arrays i got:

question()
answer1()
answer2()
answer3()
answer4()
correct()
objBg()

Instead of writing a bunch of classes to hold your questions wich would be hard coded, make yourself a file that contains all the info and make your application loop thru all the lines and add your questions and answers to a collection or hashtable using a structure. I think that would be the easiest way of doing it.