David Smith

David Smith

  • NA
  • 2k
  • 0

C# survey questionaire object class

Oct 19 2011 5:20 AM
I wanted to get opinions before I design a survey questionaire manager class. I wanted to take a decent or good approach to it.
So lets say for instance I have 10 survey questions to be display on a silverlight page.


What be the best approach to designing this class. The ultimate goal is just to set ten questions or 10 strings up to max 500 characters in 10 textbox controls.

1.Would you guys use a dictionary that contains all questions?

  for example

2. Would you guys just set the 10 questions to the textbox controls itself?



3. Would guys create a xml  configuration file with the 10 questions?



3. what would be the best approach?


Answers (6)