SyntaxFix
Write A Post
Hire A Developer
Questions
Here my solution without going backward and without a temporary list
while (listBox1.Items.Count > 0) { string s = listBox1.Items[0] as string; // do something with s listBox1.Items.RemoveAt(0); }