I did it in the beginning of users_Default Page class
//to store all the questions
private static List<cQuestion> Questions=new List<cQuestion>();
cQuestion class have all question data including all the answers(options)
The interesting thing is, that even after clicking button and raising postback event the contents of this listarray are still in memory- the consequence of static definition...
No comments:
Post a Comment