How to compare listBox1 with listBox2 if the data does not fit to display them?
I tried this, but it does not work:
for (int i = 0; i < listBox1.Items.Count; i++) { if (listBox1.Items[i] != listBox2.Items[i]) { listBox3.Items.Add(listBox2.Items[i]); } }
ListBoxwith all the elements of the secondListBox? If they do not match then add to the thirdLisstBox? - Lightness