title: Hide/Show radio buttons on a questionnaire application
body: <p>I am doing an assignment involving the creation of a simple Quiz type form application. However, whenever I run the program, only the first answer shows for a multiple question and I cannot for the life of me figure out why.</p>
  
  <p>This is the contstructor:</p>
  
  <pre><code>MultipleChoice dlg =
      new MultipleChoice(
          new Question("What is the capital of Zimbabwe?",
              new Answer("Paris", false),
              new Answer("Washington D.C.", false),
              new Answer("Harare", true),
              new Answer("Cairo", false),
              new Answer("N'Djamena", false)));
  if (dlg.ShowDialog() == DialogResult.OK)
  {
     if (dlg.Correct) MessageBox.Show("You got something right!");
     else MessageBox.Show("You couldn't be more wrong");
  }
  </code></pre>
  
  <p>And this is the Question Form Code:</p>
  
  <pre><code>private Question Q;
  public MultipleChoice (Question q)
  {
      Q = q;
      InitializeComponent();
      textPrompt.Text = Q.Prompt;
      if (Q.A != null)
      {
          radioA.Text = Q.A.Prompt;
      }
      else radioA.Hide();
      if (Q.B != null)
      {
          radioB.Text = Q.B.Prompt;
      }
      radioB.Hide();
      if (Q.C != null)
      {
          radioC.Text = Q.C.Prompt;
      }
      radioC.Hide();
      if (Q.D != null)
      {
          radioD.Text = Q.D.Prompt;
      }
      radioD.Hide();
      if (Q.E != null)
      {
          radioE.Text = Q.E.Prompt;
      }
      radioE.Hide();
  }
  public bool Correct
  {
      get
      {
          if (Q == null) return false;
          if (Q.A != null &amp;&amp; Q.A.Correct &amp;&amp; radioA.Checked) return true;
          if (Q.B != null &amp;&amp; Q.B.Correct &amp;&amp; radioB.Checked) return true;
          if (Q.C != null &amp;&amp; Q.C.Correct &amp;&amp; radioC.Checked) return true;
          if (Q.D != null &amp;&amp; Q.D.Correct &amp;&amp; radioD.Checked) return true;
          if (Q.E != null &amp;&amp; Q.E.Correct &amp;&amp; radioE.Checked) return true;
          return false;
      }
  }
  </code></pre>
  
  <p>Where have I gone wrong?</p>