title: how to get index of the last selected row from a selection of rows in a DataGridView
body: <p>I have a DataGridView and when I select multiple rows, I want the index of the last selected row. In other words, how to get the maximum most index from a selection of rows.</p>
  
  <p>e.g., if I select row0, row1 and row6, I want the output as "6".</p>
  
  <p>Regards.</p>