cant remove an item from listbox
<p>I am trying to remove an item from listbox but is not working. even that im sure that there exist an item to remove. any idea about what maybe going wrong?</p>

<pre><code>iSelectedItem = ContactConflictListBox.ItemIndex;


if ((iSelectedItem == -1))
{
    return;
}

ContactConflictListBox.Items.Remove(iSelectedItem);
</code></pre>
