Next: , Previous: , Up: Fast enumeration   [Contents][Index]


8.9.3 Fast Enumeration Details

Here is a more technical description with the gory details. Consider the code

  for (object expression in collection expression)
  {
    statements
  }

here is what happens when you run it:


Next: , Previous: , Up: Fast enumeration   [Contents][Index]