System.InvalidOperationException – Collection was modified; enumeration operation may not execute
The System.InvalidOperationException – Collection was modified; enumeration operation may not execute is a runtime exception in C# that occurs when you modify a collection (e.g., add, remove, or update elements)….
