int count =listBox1.Items.Cast<object>().ToList().Intersect( listBox2.Items.Cast<object>()).Count();