I am adding items to combo box using comboBox.Items.Add(entry);. But how can I avoid duplicate entries (i.e same name entries) in combobox. Is there any lib fun
comboBox.Items.Add(entry);
How about Casting the items to String
String
var check = comboBox1.Items.Cast().Any(c => c.ToString() == "test");