title: How to group ListBox (Windows Forms)
body: <p>I’m attempting to group the names in listbox1. Each item in listbox1 are seperated by a comma. I would like to attach the items  to the previous one  in the same line. Also the names (listbox 1) should be displayed in listBox2 only once in each line. The result should look as shown below (lb2). How can this be achieved?  Thanks for your help!</p>
  
  <p>´´´</p>
  
  <p>listBox1.Items.Add(item.S1 + " , " + item.S2);</p>
  
  <p>´´´</p>
  
  <p><a href="https://i.stack.imgur.com/LCQlb.jpg" rel="nofollow noreferrer">enter image description here</a></p>