title: Retrieving selected row in dataGridView as an object
body: <p>I have a class like this:</p>
  
  <pre><code>public partial class AdressBokPerson
      {
          public long Session { get; set; }
          public string Förnamn { get; set; }
          public string Efternamn { get; set; }
          public string Mail { get; set; }
      }
  </code></pre>
  
  <p>Added to a list:</p>
  
  <pre><code>private readonly List&lt;AdressBokPerson&gt; _avp = new List&lt;AdressBokPerson&gt;();
  </code></pre>
  
  <p>With binding to a dataGridView like this:</p>
  
  <pre><code>dataGridView1.DataSource = _avp;
  </code></pre>
  
  <p>So far so good.</p>
  
  <p><strong>Here is my question:</strong></p>
  
  <p>How do I find out 'which' object is selected when a row in the dataGridView is selected. I need to retrieve the <strong>selected</strong> object <strong>AdressBokPerson</strong> somehow.</p>