title: Index in a Foreach
body: <p>I'm using a foreach currently, and need the index of the item.</p>
  
  <pre><code>           foreach (DataRow m_row in base_rows)
         {
             Company nu = new Company(m_row, symb_rows[0]);
         }
  </code></pre>
  
  <p>Here's the code.</p>
  
  <p>I'm trying to get the index of m_row inside of base_rows and use that to pass <code>symb_rows[index_of_m_row]</code>.  Is this possible or should I just use a normal for loop?</p>