To add an item in ListBox, first we incremented the count then we created a ListItem by passing the value and text and then add this item to our ListBox. After adding the item to the ListBox, we highlighted the just populated value.