title: C# pincer for loop
body: <p>Trying to implement a simple for loop that works 0 and the end at the same time, the problem i'm running into though is that it only works on even amounts of items. For odd numbered items it does'nt return the last item.</p>
  
  <pre><code>int x = 10;
  for(int i=0; i!= x; i++)
  {
      Console.WriteLine(i + " " +x + " ");
      x--;
  }
  </code></pre>