All posts with Tag LINQ
LINQ: Select.Where or Where.Select?
LINQ is a very powerful tool for querying data. As the majority of functions are built on top of
IEnumerable<T> and it, in most cases returns
IEnumerable<T> as well, it is very easy to chain multiple functions together. That leaves you with a question: which one should I use,
LINQ on steroids with SIMD
In this blog post, we will explore the use of SIMD instructions to speed up LINQ queries. We will use the Vector
LINQ // Skip and Take
Take are used for pagination or limit the number of elements returned by a query.
Since C# 8 you can use
Take with a
Range. Let's see some examples.
LINQ explained with sketches - the eBook
After covering and collecting multiple parts of LINQ explained with sketches I bundled them all together in a small booklet with more explanation and code samples.
Therefore I present: LINQ explained with sketches - the eBook. Over 30 pages with smaller explanations and more LINQ operations than in my last post. Litte Bonus: There are interactive links with smaller examples to fiddle around with.
LINQ explained with sketches
Often times it is easier to have a nice illustration at hand, which explains you things the easy way. So let's do this for a lot of LINQ operations like
Select and friends.
Of course a small explanation will be attached as well.