title: Iterate a List<string> 12 by 12 and get the items
body: <p>I have a generic list of strings, but I know from 12 to 12 items I have a Record. I Also have a Model that want to populate.</p>
  <p>My primary code</p>
  <pre><code>for (int r = 2; r &lt;= rows; r++)
  {
      for (int c = 3; c &lt;= cols; c++)
      {
          try
          {
              list.Add(usedRange.Cells[r, c].Value2.ToString());
          }
          catch (Exception e)
          {
              Console.WriteLine(e);
          }
      }
  }
  
  foreach (string item in list)
  {
  
  }
  </code></pre>
  <p>So in foreach (string item in list) I know 12 the 24 then 36 my record is there</p>
  <p>The problem is this peace of code</p>
  <pre><code>foreach (string item in list)
  {
    p.LastName = item
  }
  </code></pre>
  <p>I need a <code>for</code> in order to populate my Model with all 12 items, I'm stuck</p>