I have a list which records the number of items. so when the user clicks "add to cart"
the item gets added to this list.
My question is how can i add the total number of items in this list.
Thank You in advance
How can i calculate amount of total items added to a list?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Guest UserRank #816 · 2.8K reputationPosted May 6, 2015, 6:30 AM EDT
Vincent Maverick DuranoRank #238 · 10.3K reputationPosted May 6, 2015, 6:45 AM EDT
int count = YourList.Count();
shosho shosho56 reputationPosted May 6, 2015, 10:00 AM EDT