title: c# Random Class in a While Loop
body: <pre><code> while (true)
   {         
       Console.Write("What is: " + num03 + " x " + num04 + " = ");
       int answer = Convert.ToInt32(Console.ReadLine());
       if (answer == num03 * num04)
       {
           Console.WriteLine("Correct");
           num03 = randNum.Next(10) + 1;
           num04 = randNum.Next(10) + 1;
           continue;
       }
       else
       {
           Console.WriteLine("Incorrect");
           continue;
       }
   }// End of while loop
  </code></pre>
  
  <p>I'm new to C# (2 weeks in) Randomize for simple math sums. 
  Is there an easier or more compact way to write <code>randNum.Next()</code> for each variable?</p>