I have a large string array and I need to fill in the ComboBox in the ListBox so that listBox.Items.AddRange(StringArray); And how to do it in the ComboBox?

  • And the array must be used? For such purposes, in my opinion, it is more convenient to use List <T> - iluxa1810

1 answer 1

There is a ComboBox.ObjectCollection.AddRange , but in my opinion it’s better to use lists for such purposes.

  • And filling the ComboBox on the list is the same? - Denisok
  • VS tells me that ComboBox does not contain a definition for an ObjectCollection ... - Denisok