title: Making my dice throws produce more throws?
body: <p>I'm working on an assignment, where I have to make an application where you can throw 1-4 dice. The results are then added to a list.
  <strong>However</strong>, if any of them is a <strong>6</strong>, that one <em>isn't</em> added to the list, instead <strong>2 additional dice are thrown</strong>.</p>
  
  <p>As long as a die returns a <strong>6</strong>, 2 more dice have to be thrown, until no die returns a 6.</p>
  
  <p>Does anyone here know how to solve this? My programming skills are really basic, and I haven't used them much since last year.</p>
  
  <pre><code>for (int i = 0; i &lt; qty; i++)
  {
    int diceNr = RollDice(random);
    dicelist.Add(diceNr);
    Console.WriteLine(diceNr);
    if (diceNr == 6)
  {
  dicelist.Remove(diceNr);
  Console.WriteLine("You got a six, that means you get 2 extra throws!");
  
     for (int x = 0; x &lt; 2; x++)
     {
         diceNr = RollDice(random);
         dicelist.Add(diceNr);
     }
  </code></pre>