I noticed that List<T> has a method called ForEach, that takes an Action<T> and applies it to all elements in the collection. This is not an extension method, it's part of List.
I wondered why it's not part of the LINQ Extension methods. The best I could come up with was that IEnumerables can be infinite, so a non-terminable...
Every one of us that reads these forums frequently sees this. You get a post explaining requirements, maybe some code, and then a variant on the phrase that makes my blood boil when no context is provided: "it doesn't work."
There's many variations on it:
"It has errors"
"It doesn't run"
"It...