Ama
New Member
- Joined
- Jun 6, 2011
- Messages
- 1,171
- Reaction score
- 33
If I remove a node from a list, HB gives an error message. Everything works, just annoying error message. Not sure if the operation would even be used that much. I tried to send error report, but it failed.
Here is a snippet of code in question:
Collection was modified; enumeration operation may not execute
Here is a snippet of code in question:
Code:
foreach (Dispels d in DiscSettings.Instance.UrgentDispelList)
{
if (d.ListItem.ToString().Equals(textBox1.Text))
{
DiscSettings.Instance.UrgentDispelList.Remove(d);
}
}