O'Reilly logo
  • James World thinks this is interesting:

You can do the same thing using the foreach statement and the range operator (..), but much more succinctly

From

Cover of Windows PowerShell in Action, Second Edition

Note

Actually, it’s less succinct, but perhaps subjectively more elegant.