I have created a ListView called listUsers, but for some reason SelectedIndex isn\'t defined.
ListView
listUsers
SelectedIndex
There is no selected index property on ListView in winforms. To get the selected index you can use
listView1.SelectedIndices[0];