c# clear selected items in listbox code example Example: how to clear a listbox c# listbox1.Items.Clear();