Merhaba, C# döngüler ile alakalı biraz daha alıştırma yapmanızı tavsiye ederim.
for (int i = 0; i < listBox1.Items.Count; i++)
{
if (listBox1.Items[i].ToString() == listBox2.Items[i].ToString())
{
MessageBox.Show("eşit" + listBox1.Items[i].ToString() + listBox2.Items[i].ToString());
}
else
{
MessageBox.Show("eşit değil" + listBox1.Items[i].ToString() + listBox2.Items[i].ToString());
}
}