title: DataGridView, Get the value of the first column of the selected row
body: <p>I'm wondering what would be the most efficient way to get the value of the first column in an DataGridView row.</p>
  
  <p>Currently, I'm using this code:</p>
  
  <pre><code>List&lt;string&gt; SelectedRows = new List&lt;string&gt;();
  foreach (DataGridViewRow r in dgv.SelectedRows)
  {
      SelectedRows.Add(r.Cells[0].Value.ToString());
  }
  
  int index = Convert.ToInt32(SelectedRows[0]);
  </code></pre>
  
  <p>This works fine; however, is there a more efficient option to do this?</p>