title: List index Err : Index was out of range
body: <p>I have two lists and I want to copy data from one to another and I get this error:</p>
  
  <blockquote>
    <p>Index was out of range. Must be non-negative and less than the size of the collection.<br>
    Parameter name: index </p>
  </blockquote>
  
  <p>Here's my code:</p>
  
  <pre><code>static  IList&lt;Common.Data.Driver&gt; Stt_driverList = new List&lt;Common.Data.Driver&gt;();
  List&lt;Common.Data.Driver&gt; driverList = new List&lt;Common.Data.Driver&gt;();
  
  for (int i = 0; i &lt; driverList.Count; i++)
  {
      //Fill in The Static Driver List
      Stt_driverList[i] = driverList[i]; 
  }
  </code></pre>