I am trying to run a test generation and passing some of the test outputs to a foreach
loop, but every other time I try to run the method it stops and the in
in the foreach
loop it gives an exception
System.InvalidOperationException occurred in mscorlib.dll
and then the Exception is caught in the try catch
and gives the error
Collection was modified; enumeration operation may not execute
I'm not entirely sure why this error is being produced!