title: Creating a random order for my quiz questions
body: <p>I have created a quiz application and was using a switch statement to work my way through the questions. i.e. going from 1 to 2 to 3 to 4 and so on.
  However, once the user has completed the quiz once and wanted to start again, they would have to go through all the same questions all over again. (the design is that if they get one wrong, the application exits).
  Therefore, I wanted to see if there was a way to either randomize the number for the <em>QuestionCount</em> (but only have this number generated once) or another way I could do it.
  I can see there are suggestions in using a list but these seem to concentrate on large numbers contained in the list whereas mine currently will only be 20 questions long.</p>
  
  <p>I have copied the code I am using currently.</p>
  
  <pre><code>private void Verify(int Question)
  {
      switch (Question)
      {
          case 1:
              if (checkBox1.Checked &amp;&amp; !checkBox2.Checked &amp;&amp; !checkBox3.Checked &amp;&amp; !checkBox4.Checked)
              {
                  MessageBox.Show("Correct - Well Done");
                  //This was a test to see if I could assign a random number which works but the number could then appear again meaning the user gets the same question
                  Random random = new Random();
                  QuestionCount = random.Next(0, 21);
                  QuestionSelection(QuestionCount);
                  //SelectLabel(QuestionCount);
                  ClearcheckBox();
              }
              else
              {
                  MessageBox.Show("No - It was Sunguard");
                  Application.Exit();
              }
              break;
          case 2:
              if (checkBox3.Checked &amp;&amp; !checkBox2.Checked &amp;&amp; !checkBox1.Checked &amp;&amp; !checkBox4.Checked)
              {
                  //this method was the original where it just adds 1 to QuestionCount and works it way through the switch statement for the questions.
                  MessageBox.Show("Correct - Well Done");
                  QuestionCount++;
                  QuestionSelection(QuestionCount);
                  //SelectLabel(QuestionCount);
                  ClearcheckBox();
              }
              else
              {
                  MessageBox.Show("No - It's to look at a students details");
                  Application.Exit();
              }
      }
  }
  </code></pre>