Help with list or a dictionary

Trying to explain this in as basic terms as I can because I'd have no way of explaining the entire process. I'm working on code that needs to read from data that contains a set of customer id's and then a set of revenue amounts for each customer, I need a way to get that information together where matching customer id's have their revenue amounts add up, I then need this written to a file so for example

cust# 45 Rev =5.00 cust 560 rev = 10.00 cust 45 rev = 10 cust 560 rev = 10.00 needs to be Cust 45 rev =15 cust 560 rev = 20

by andysom25 via /r/csharp

Leave a Reply