Saturday, May 30, 2009

Remove some items from ArrayList

// Remove some items from ArrayList

int count = myArrayList.Count;
for(int i=0; i someValue)
{
myArrayList.RemoveAt(i);
count--;
} else {
i++;
}

}

No comments:

Post a Comment