T
tshad
Is there a way to know if you are looking at the last record record of
foreach loop other then setting up a loop counter that you manually
increment?
foreach (Racecar racecar in RaceCarCollection)
{
...
if last row do something?
}
You can tell how many items you have in the collection but is there way to
tell which row you are looking or if this is the last row?
Thanks,
Tom
foreach loop other then setting up a loop counter that you manually
increment?
foreach (Racecar racecar in RaceCarCollection)
{
...
if last row do something?
}
You can tell how many items you have in the collection but is there way to
tell which row you are looking or if this is the last row?
Thanks,
Tom