Adding comma separated strings to an ArrayList c#
<p>How to add a comma separated string to an ArrayList? My string could hold 1 or many items which I'd like to add to ArrayList, each item combine with it's own id value separated by underscore (_) so it must be separated arraylist items..</p>

<p>e.g :</p>

<p><code>string supplierIdWithProducts = "1_1001,1_1002,20_1003,100_1005,100_1006";</code></p>

<p><code>ArrayList myArrayList= new ArrayList();</code><br>
           <code>myArrayList.Add("1001,1002"); // 1</code><br>
<code>myArrayList.Add("1003"); // 20</code><br>
<code>myArrayList.Add("1005,1006"); // 100</code></p>

<p>After the ArrayList has been populated, I'd like pass it to a web service
that part is ok for me<br>
<code>foreach (string item in myArrayList){}</code></p>

<p>How could i do this...</p>

<p>Thanks..</p>
