Hello everyone, the listBox element has such a SelectedIndex property. For example, I have 4 items in the element, but this value can change and I will not know what their number is, when the timer is activated, the code goes
And when this value reached a maximum (in our case 4), make such a code
listBox1.SelectedItem = 0;
I do not understand how to get the maximum index, I tried listBox1.Items.Count, but Indices are counting from 0, not from 1.