6
votes
5answers
844 views

Is this linq code clear enough, and how could I improve it?

In this question I answered with this linq. While it does what I was looking for, I am not sure how easy the linq queries are for others to follow. So I am looking for feedback on formating, what ...
4
votes
2answers
616 views

Is ToIEnumerable<T> good practice?

I have a extension method that does this. public static IEnumerable<T> ToIEnumerable<T>(this T source) where T : new() { return new[] { source }; } I need to be able to convert any ...