Enumerable.Append and Enumerable.Prepend extension methods
Another gem I found on StackOverflow today (I’ve been spending a lot of time there these last couple of days..), this time in the form of a question on how to append or prepend a single value to an IEnumerable<T>. Greg provided an elegant solution to this particular problem, and here’s his answer: Which you …
Enumerable.Append and Enumerable.Prepend extension methods Read More »