Hello,
How can I compare a listBox items to check that it has same text in it at other index or not.
P.S: want to compare single listbox elements not two listbox.
Thanks.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sreekanth ReddyRank #726 · 3.2K reputationPosted Nov 3, 2015, 12:56 AM EST
Mohammad AmanRank #4,571 · 337 reputationPosted Nov 3, 2015, 1:03 AM EST
if (0 <= index)
{
listBox1.SelectedIndex = index;
}
}