title: Comparing two list boxes Vb.net
body: <p>Listbox 1 contains names of hairdressers and Listbox 2 contains services provided by all of them then in Listbox 3 both the selected hairdresser(only 1 allowed) and and selected services are contained. There is a remove button which removes items from Listbox 3. I want a code for the button that if a hairdresser is removed all services also get removed otherwise only services are removed.</p>
  
  <pre><code>For Each str As String In Hairdresser.lstHairdresser.Items
   If Not lstHairdresserAndServices.Items.Contains(str) Then  
    lstHairdresserAndServices.Items.Clear()
   Else 
    'more code here but above statement never gets true 
   End If 
  Next 
  </code></pre>