K
Katie
i know foreach is faster than for when working with objects. however, for is
more flexible than foreach. you can step through a for statement in reverse
order and even skip items. so.... is there a way to iterate thru the items
in revers order with a foreach statement? i know this is a general
programming question but i always like to optimize my PocketPC code. this
would be another optimization... that is being able to use foreach when i
need to iterate in reverse order vs using a for statement.
so is there a way to iterate thru a foreach in revers order?
thanks
more flexible than foreach. you can step through a for statement in reverse
order and even skip items. so.... is there a way to iterate thru the items
in revers order with a foreach statement? i know this is a general
programming question but i always like to optimize my PocketPC code. this
would be another optimization... that is being able to use foreach when i
need to iterate in reverse order vs using a for statement.
so is there a way to iterate thru a foreach in revers order?
thanks