hi all,
I want to remove some selected items on a list. So I use a foreach loop.
But it remove elements one by one, in odd pattern. Can somebody tell me what's wrong here.Code:foreach (int i in MyList.SelectedIndices) { MyList.Items.RemoveAt(i); }
thanks a lot




Reply With Quote