M
mortb
Is there any gain in preformace using
for(int i=0; i < fooList.Count; i++)
{
doStuffTo(foo);
}
Compared to
foreach(fooObj oFoo in fooList)
{
doStuffTo(oFoo);
}
...and what about comparing arrays to arrayLists
Just curious
greetings,
mortb
for(int i=0; i < fooList.Count; i++)
{
doStuffTo(foo);
}
Compared to
foreach(fooObj oFoo in fooList)
{
doStuffTo(oFoo);
}
...and what about comparing arrays to arrayLists
Just curious
greetings,
mortb