Hello,
I am trying to iterate through list:
foreach (classA objectA in listA)
{
//if there is no objectA with specific name in list A then:
listA.add(objec tA)
}
But it seems like this is an exception to modify the collection that I
am iterationg through. How to solve this?
Thank you!
*** Sent via Developersdex http://www.developersdex.com ***
I am trying to iterate through list:
foreach (classA objectA in listA)
{
//if there is no objectA with specific name in list A then:
listA.add(objec tA)
}
But it seems like this is an exception to modify the collection that I
am iterationg through. How to solve this?
Thank you!
*** Sent via Developersdex http://www.developersdex.com ***
Comment