E
eric
I have an array list with some values. I need to loop through the arraylist
and change the values. I am using the code below and I am getting an error
(like you would if i looped through a hashtable). Any ideas why?
index = 0;
foreach (object val in arrayList)
{
holeList[index] = (double)val * 2.1;
index++;
}
and change the values. I am using the code below and I am getting an error
(like you would if i looped through a hashtable). Any ideas why?
index = 0;
foreach (object val in arrayList)
{
holeList[index] = (double)val * 2.1;
index++;
}