4 ms·
C# has a syntax called Linq Query Syntax that provides keywords in the language to do things like map, filter, and reduce. Example: var queryLondonCustomers
by symlinkk 8y ago
C# has a syntax called Linq Query Syntax that provides keywords in the language to do things like map, filter, and reduce.
Example:
var queryLondonCustomers = from cust in customers
where cust.City == "London"
select cust;
I'm not a big fan of it honestly, the function style seems more consistent and easier to read to me.