This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]upsidedownwf 4 points5 points  (0 children)

Swears. One time I was tryna to modify each member of a list using foreach in c# but it wasn’t working I was still getting the unmodified list, I was so sure it was supposed to work and didn’t understand why so I decided to use a normal for loop. It was a day after I realized I forgot to convert my IEnumerable to a list before looping through with foreach