Posted on: 7/15/2014 12:36:53 AM | Views : 392

Hey, everyone!
So this totally sounds like a question I was asked in undergrad, but for some reason, my mind is a bit stumped.
I'm using a WebRequest to get data from an external database that represent currently open orders. This data is returned via JSON, so I use Newtonsoft's awesome JSON library to deserialize it and turn it into a List of orders. Great. That works well.
Now, I have to loop through each order to find out what listItems it contains, and this is where I'm getting stuck: I want to keep a running count of for each item. This way, I can achieve my goal, which is to output a table to shows the current number needed of each item.
What would you recommend as the best way to accomplish this?
Any help you could give me would be great.
Thanks!
-Eric

Go to the complete details ...