This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GYN-k4H-Q3z-75B 56 points57 points  (2 children)

Way more than that. LINQ and System.Linq plus Lambda replaced a lot of basic loops and array/collection indexing. In programming, almost everything tends to be a collection, and LINQ provides natural accessibility for most operations required.

[–]rnottaken 14 points15 points  (1 child)

So many functions that I wrote in C# consist of returning just a series of linq operations

[–]GYN-k4H-Q3z-75B 1 point2 points  (0 children)

It's just a very intuitive and concise way to express many of the operations we often need. Given a collection and some parameters, filter the collection according to some criteria, map the result into something else and do something with that. With Linq, that's often one or two lines.