10 followers
Trying to disprove that old-school Devs cannot learn new tricks!
Doing a left outer join in T-SQL is as straightforward as adding a single keyword to the JOIN statement. I remember that when I first tried to perform a left outer join in a LINQ query, I was honestly surprised about how confusing the syntax was. Eve...
Here's another LINQ gem, which is very useful if you plan to base your projection or filtering logic on the element's index in a sequence. From the MSDN page for Enumerable.Select(): Projects each element of a sequence into a new form by incorporati...
I'm always fascinated by how simple yet helpful LINQ queries are. Take for example the Enumerable.Zip() method. It's simple, yet very useful in case you need to combine two sequences of data. Here's a partial example where Zip() is used to combine a...