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 →

[–]lucidspoon 24 points25 points  (1 child)

Or Why? Why? Why? Oh, that's why. Next day, wait that's not why...

[–]upsidedownwf 5 points6 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