hi all,

I want to remove some selected items on a list. So I use a foreach loop.

Code:
foreach (int i in MyList.SelectedIndices)
{
    MyList.Items.RemoveAt(i);
}
But it remove elements one by one, in odd pattern. Can somebody tell me what's wrong here.

thanks a lot