? Favorite Answer
Many algorithms use nested iteration (for each X do for each Y do something interesting).
The details of how to implement the loops, whether the two loops are in the same method, etc. are driven by style preferences, acceptable levels of code complexity, organizational coding standards, etc.