You are viewing a single comment's thread. Return to all comments →
It looks nice, but how about the performace? You are iterating the list of elements 4 times.
I'm sure with a linq query you could do it in one from statement. Would that still iterate it four times though?