Items can be added to a Windows Forms combo box, list box, or checked list box in a variety of ways, because these controls can be bound to a variety of data sources. However, this topic demonstrates the simplest method and requires no data binding. The items displayed are usually strings; however, any object can be used. The text that is displayed in the control is the value returned by the object'sToString method.
To add items
Add the string or object to the list by using the Add method of the ObjectCollection class. The collection is referenced using theItems property:
// To remove item with index 0:
// To remove currently selected item:
// To remove "Tokyo" item:
To remove all items
Call the Clear method to remove all items from the collection: