• 點部落
  • 首頁
  • RSS
    • 登入

亂馬客

https://rainmakerho.github.io/

2013-10-17

[ERROR]Collection was modified; enumeration operation may not execute.

  • 8349
  • 0
  • .NET

在刪除List物件裡面的項目時,如果用foreach去刪除,就會出現 Collection was modified; enumeration operation may not execute. 的錯誤訊息。所以那裡如何刪除呢?

...繼續閱讀 »
  • Collection
  • delete
  • 1

學習網站

pluralsight

wintellectnow

標籤雲

系列文章

最新留言

  • 服務規範
  • 聯絡我們
© 2026 點部落 Ver. 2026.5.16.1
電魔小鋪有限公司 製作、維運;登豐數位科技 提供資安檢測