how to access collection in foreach with nrowset c# code example Example: c# list foreach someList.ForEach(x => { if(x.RemoveMe) someList.Remove(x); });