
I had a requirement where I received a generic list from a method and needed to iterate through the the list and change a value if certain criteria were met. Initially, I decided to use a foreach statement. However that resulted in a Can’t modify members because it is a ‘foreach iteration variable’ exception. Which […]
Read More →




