I cant seem to remove certain items in an arraylist when I loop through it. When I debug in vs.net is seems to go through the arrTeam.remove(item) line (shown below) but does not remove the item.
And the watch still shows the original amount of items after the loop.
in icount i have these items(in this order): 1,56
in arrTeam i have these items (in this order): 1,105,56,57,36
id like to remove the items shown in icount in arrteam
please help
code:
objects initialized above
for each item in icount icount is a string array
arrTeam.Remove(item) next
thank you
And the watch still shows the original amount of items after the loop.
in icount i have these items(in this order): 1,56
in arrTeam i have these items (in this order): 1,105,56,57,36
id like to remove the items shown in icount in arrteam
please help
code:
objects initialized above
for each item in icount icount is a string array
arrTeam.Remove(item) next
thank you