This one time I was trying to programmatically modify an SPListCollection, and I stabled into the error " Collection was modified; Enumeration operation may not execute ". This error came about during the code block that looped through the SPListCollection and attempting to update the collection.
Data and Advanced Analytics. Formerly SharePoint.