title: Calculate the sum of all odd, random numbers in a range
body: <p>I've got the base code done, and it is generating 20 random numbers, but now I am trying to
  add all the odd numbers and display the sum at the bottom.
  My problem is I don't know how to accomplish this.</p>
  
  <p>Please keep your code simple and explain it in a way so I can understand it.</p>
  
  <pre><code>Random rnd = new Random();
  Console.WriteLine("\n20 random integers from 1 to 10:");
  for (int X = 1; X &lt;= 20; X++)
  {
      int y = rnd.Next(1, 10);
      if (y % 2 == 1)
      {
          // Add all the odd # and display sum.
          // No clue, LOL.
      }
      else
      {
      }
      Console.WriteLine("{0}", y);
  }
  Console.ReadLine();
  </code></pre>