I am populating a combobox with a list of names and the list contains approximately 7600 items.
Here is the code:
foreach (string customerName in customerNames)
{
comboBoxCustName.Items.Add(customerName);
}
This loop takes nearly one minute to complete (58.6 seconds to be precise). I don't think it should take that long, can someone please offer some ideas as to why it's taking so long?