title: In c#, how can i rotate a list a specific amount of places?
body: <p>I wrote a code to rotate a list a specific amount of places, the code I have below works but i would like to know if there is a more efficient way to do this.</p>
  
  <pre><code>  public void Test8(List&lt;int&gt; items, int places)
     {
        int nums;
          for (int i = 0; i &lt; places; i++)
          {
              nums = items[items.Count() - 1];
              items.RemoveAt(items.Count - 1);
              items.Insert(0, nums);
  
          }
     } 
  </code></pre>