senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. えあい:straight_shrimp:????:straight_shrimp: (eai@stellaria.network)'s status on Sunday, 12-Jun-2022 16:20:50 JST えあい:straight_shrimp:????:straight_shrimp: えあい:straight_shrimp:????:straight_shrimp:

    c# - ForEach文で中身の処理中に母集合側が変化するとMoveNextでエラーになる? - スタック・オーバーフロー
    https://ja.stackoverflow.com/questions/10119/foreach%E6%96%87%E3%81%A7%E4%B8%AD%E8%BA%AB%E3%81%AE%E5%87%A6%E7%90%86%E4%B8%AD%E3%81%AB%E6%AF%8D%E9%9B%86%E5%90%88%E5%81%B4%E3%81%8C%E5%A4%89%E5%8C%96%E3%81%99%E3%82%8B%E3%81%A8movenext%E3%81%A7%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AB%E3%81%AA%E3%82%8B
    > 仕様上、foreachの処理中にコレクションに追加・削除が発生すると、InvalidOperationExceptionが発生します。

    In conversation Sunday, 12-Jun-2022 16:20:50 JST from stellaria.network permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: cdn.sstatic.net
      ForEach文で中身の処理中に母集合側が変化するとMoveNextでエラーになる?
      from @jaStackOverflow
      下記コードのForEachを使った処理で①~④の処理中にDownLoadDataListのカウントが変化すると 次のMoveNextでエラーになるのでしょうか? ループが1週した後に、ForEachまで来ると下記のエラーがでます。 InvalidOperationException: Collection was modified; enumeration operation may not

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.