As you know by question that what I want. I was using listbox. In ListBox we can get selected item by a simple line of code: listbox1.SelectedItem.
ListBox
listbox1.SelectedItem
ListView.FocusedItem.Index
or you can use foreach loop like this
int index= -1; foreach (ListViewItem itm in listView1.SelectedItems) { if (itm.Selected) { index= itm.Index; } }