title: Would there be any performance difference between looping every row of dataset and same dataset list form
body: <p>I need to loop every row of a dataset 100k times.</p>
  
  <p>This dataset contains 1 Primary key and another string column. Dataset has 600k rows.</p>
  
  <p>So at the moment i am looping like this</p>
  
  <pre><code>for (int i = 0; i &lt; dsProductNameInfo.Tables[0].Rows.Count; i++)
   {    
    for (int k = 0; k &lt; dsFull.Tables[0].Rows.Count; k++)
     {
     }
   }
  </code></pre>
  
  <p>Now <strong>dsProductNameInfo</strong> has 100k rows and <strong>dsFull</strong> has 600k rows. Should i convert <strong>dsFull</strong> to a <strong>KeyValuePaired</strong> string list and loop that or there would not be any speed difference.</p>
  
  <p>What solution would work fastest ? </p>
  
  <p>Thank you.</p>
  
  <p>C# 4.0 WPF application</p>