title: do while loop using an if statement to print odd numbers
body: <p>At the moment I am learning loops. I am trying to create a console application which uses a do while loop to print all odd integers between 20 and 0. </p>
  
  <p>Why when I uncomment <code>if</code> statement below my code does not print anything and never finishes?</p>
  
  <pre><code>using System;
  
  class Program
  {
    static void Main(string[] args)
    {
       int i = 20;
       do 
       {
          // if (i%2 !=0)
          {
             Console.WriteLine(
                "When counting down from 20 the odd values are: {0}", i--);
          }
        } while (i &gt;=0);
     }
  }
  </code></pre>