Does any of you have the slightest ideas of why you can't modify an array
list while in a foreach of its element.
I wrote my own collection and I'm trying to add the same behavior but I
don't know where to start.
I though to internal events but dismiss the idea because it prevents garbage
collection of the enumerator.
any other ideas ?
list while in a foreach of its element.
I wrote my own collection and I'm trying to add the same behavior but I
don't know where to start.
I though to internal events but dismiss the idea because it prevents garbage
collection of the enumerator.
any other ideas ?
Comment