Mismatch of variable names

Chapter 6: Implementing iterators the easy way: P180, first listing

Created: 12/28/2008
Last updated: 12/28/2008
Severity: Typo

The code at the top of page 180 declares the variable holdings but then uses it as stocks in the call to ProcessStocks. To be consistent with the code below, it's easiest just to change the variable to be declared as stocks:

Holdings stocks = DbService.EndGetStockHoldings(holdingsAsync);