News for hackers. Stuff that matters.
Re:What's wrong with this code, really? by wanorris on Friday September 16, 2011 @03:20PM (#3005877)
It's not as concise as Haskell, but the addition of FP capabilities to C# make it a lot more pleasant as a practical language than it was in earlier days.

var filteredCollection = collection.Where(x => predicate(x));

Re:What's wrong with this code, really? by sid0 on Friday September 16, 2011 @03:34PM (#3005939)
As far as I remember you can write that as

  var filteredCollection = collection.Where(predicate);
I agree that C# is a fundamentally usable language.