C#C
C#3y ago
saki

❔ Sum quantity in a list by name value?

I've joined all of the necessary data from 3 json files into their own object. What I now want to do is take all of the entries in that list and sum the quantity for each of the product names

I'm thinking of separating them into different lists for each product, summing them, and then joining them together in a final array but idk if that's the best route
image.png
Was this page helpful?