Why doesn't x increment after x++?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7911776/what-is-x-after-x-x">What is x after &ldquo;x = x++&rdquo;?</a>  </p>
</blockquote>



<p>In a loop I have:</p>

<pre><code>int x = 0;
while(int x &lt; 10){
x = x++;
}
</code></pre>

<p>Why does this not work?</p>
