Collection was modified; enumeration operation may not execute in C#

前端 未结 0 697
暗喜
暗喜 2021-01-01 23:54

Getting error while changing List value
foreach (var sublist in declaration) { declaration.Add(new KeyValuePair(sublist.Key.ToString(), (sublist.Val

相关标签:
回答
  • 消灭零回复
提交回复
热议问题