how to find the amount of items in a listbox code example Example: c# count items in listbox listBox1.Items.Count