When using a for loop it's easy to figure out what index to shove into the RemoveAt method on a generic list. But I'm not sure how to do this in a foreach so easily:
foreach (Item item in Items)
{
if(item == null)
// remove it from the Items generic list
....
}
C# Web Developer