Re:LINQ Ruined My Favorite Interview Question
by JeanPierre on Thursday July 11, 2013 @02:20PM
(#6027992)
sort-by takes an optional comparator, so doing (comp - val) is a bit unneeded. Just add in > as an argument to sort-by:
Just mentioning it here because I find it vastly more readable than (comp - val).
[ Parent
| on HN ]
There are no comments on this comment yet.