P
pamelafluente
Hi guys,
Is it possible to get the current index, when iterating with FOR EACH
on some collection
(implementing ILIST) without using and external counting variable (,
that
is somehow getting the internal enumerator) ?
For Each SomeObj As Object In ArrayListObj
dim CurrentIndex as integer = ?????? (0,...,
ArrayListObj.count - 1 )
Next SomeObj
-P
Is it possible to get the current index, when iterating with FOR EACH
on some collection
(implementing ILIST) without using and external counting variable (,
that
is somehow getting the internal enumerator) ?
For Each SomeObj As Object In ArrayListObj
dim CurrentIndex as integer = ?????? (0,...,
ArrayListObj.count - 1 )
Next SomeObj
-P