what I have is a text file that is like this:
apple|2
turkey|4
mango|11
apple|3
turkey|4
mango|4
I need the results to be:
apple|5
turkey|8
mango|15
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.
or if you prefer: