C# combining lines in the same text file
<p>what I have is a text file that is like this:</p>

<pre><code>apple|2  
turkey|4  
mango|11  
apple|3  
turkey|4  
mango|4  
</code></pre>

<p>I need the results to be:  </p>

<pre><code>apple|5  
turkey|8  
mango|15  
</code></pre>

<p>Any tips or suggestions? I know that there is some Math.Abs and such, I'm just not sure how to combine the lines. Any help would be awesome.</p>
