C# Invalidoperationexception Python Modifying Collection When Using A Foreach Loop In C# November 06, 2022 Post a Comment Basically, I would like to remove an item from a list whilst inside the foreach loop. I know that t… Read more Modifying Collection When Using A Foreach Loop In C#