This just don’t look right to me:
For Each X As SomeType In ComboBox1.Items ...some code... Next
Items in a combo box is an ObjectCollection, so I usually do the extra step of using an Object as interator in my For Each iterators to avoid the feeling of implisive unboxing, because implisive unboxing is something we should avoid.

Leave a Reply