title: C# program for odd even number
body: <p>Hi i am doing very basic c# coding where just checking odd and even number however how i can re-enter input while i am converting a string into integer at one place.</p>
  
  <pre><code>        if (i % 2==0) 
  
              {
              Console.WriteLine("even");
              Console.WriteLine("enter again", i);
          }
          else if(i%2!=0)
  
          {
              Console.WriteLine("odd");
              Console.WriteLine("enter again", i);
  enter code here
          }
  
          Console.ReadKey();
  </code></pre>