title: Two array list - Merge to create values
body: <p>I just can't get my head around doing this. . .</p>
  
  <p>I am targeting the 2.0 .net framework using visual studio 2017 and using visual basic.</p>
  
  <p>I have two list ARRAYS one being string and the other single.</p>
  
  <pre><code>Dim Products As New List(Of String)
  
  Dim Quantity As New List(Of Single)
  </code></pre>
  
  <p>The List's has the following data:-</p>
  
  <pre><code>Products(0)="1-1/xs":Quantity(0)=2
  
  Products(1)="1-1/s" :Quantity(1)=3
  
  Products(2)="1-1/m" :Quantity(2)=5
  
  Products(3)="1-1/xs":Quantity(3)=7
  
  Products(4)="1-1/m" :Quantity(4)=8
  </code></pre>
  
  <p>I need to know how do I programically get this result:-</p>
  
  <pre><code>Products(0)="1-1/xs":Quantity(0)=9
  
  Products(1)="1-1/s" :Quantity(1)=3
  
  Products(2)="1-1/m" :Quantity(2)=13
  </code></pre>
  
  <p>The result is taking all the products; then looking at the products that has duplicates (remove the duplicate item) and add that items quantity to the Quantity list.</p>
  
  <p>Will someone please able to assist me. . </p>