title: Is it possible to: increment index by 1 and wrap back to 0 if(index > list.Count) within 1 line of code?
body: <p>What I'm doing right now:</p>
  
  <pre><code>index++;
  index %= list.Count;
  </code></pre>
  
  <p>I want to merge them into 1 quick line, something like:</p>
  
  <pre><code>++index %= list.Count;
  </code></pre>
  
  <p>But the compiler is not allowing me to.</p>
  
  <p>I would love to know:</p>
  
  <ol>
  <li>Is it possible to merge those 2 into 1 quick, easy-to-read line?</li>
  <li>Explanation why what I'm doing doesn't work, IIRC I used to do that all the time in C/C++</li>
  </ol>
  
  <p>Thanks for your time!</p>