Choosing the right collectionbeginner
A List makes you walk every item to find one; a Dictionary jumps straight to it — picking wrong turns a fast page into a slow one as soon as real data arrives.
A lookup that scans a list inside a loop. Index it once instead.
Same total, same seen-SKU set, without a scan inside the loop.
Published in full, before you start — every point is one of these and there is nothing else.
A List makes you walk every item to find one; a Dictionary jumps straight to it — picking wrong turns a fast page into a slow one as soon as real data arrives.