For my quiz application, Im confused as to whether I should stick to this format for the question
was going to try xml, but I don't have much of a starting point for that
I've looked at examples for like rpg conversations but they have a lot of things I don't need
I just want to display all of this on the screen then be able to switch to next question,
If anyone has any examples or ideas to offer me It would be much appreciated
was going to try xml, but I don't have much of a starting point for that
I've looked at examples for like rpg conversations but they have a lot of things I don't need
I just want to display all of this on the screen then be able to switch to next question,
If anyone has any examples or ideas to offer me It would be much appreciated
List<CQuestion> listOfQuestions = new List<CQuestion>();
CQuestion question1 = new CQuestion();
listOfQuestions.Add(question1);
question1.QuestionText = "What is a variable?";
question1.Answers[0] = "Stores a value";
question1.Answers[1] = "Stores a Bitmap";
question1.Answers[2] = "Stores the game code";
question1.Answers[3] = "all of the above";
question1.CorrectAnswer = 1;
public CQuestion()
{
Answers = new string[4];
}
public string[] Answers { get; set; }
public string QuestionText { get; set; }
public int CorrectAnswer { get; set; }