Collection was modified; enumeration operation may not execute

后端 未结 16 2611
南旧
南旧 2020-11-21 06:05

I can\'t get to the bottom of this error, because when the debugger is attached, it does not seem to occur.

Collection was modified; enumeration operatio

16条回答
  •  一个人的身影
    2020-11-21 07:02

    You can copy subscribers dictionary object to a same type of temporary dictionary object and then iterate the temporary dictionary object using foreach loop.

提交回复
热议问题