C# 3 added one of the most revolutionary features of any programming language, and that's none other than LINQ.
LINQ has been a flagship feature of C#. Data querying is a fundamental feature of any programming language, but
not every language gives developers the tools to do it in an elegant way that reads naturally and is extremely
powerful. Even though most developers will get introduced to LINQ early in their C# journey, only a few know how
to use it effectively and get the most out of it with the least amount of code. With heavy Microsoft investment,
LINQ is improving in every .NET version with better performance and adding new features. In this course, Hannes
Lowette will teach you everything there is to know about LINQ and equip you with the knowledge to tackle and
querying tasks, whether big or small.
Course Curriculum
4h 9m 10 sections
Welcome
00:35Free preview
What will you learn in this course?
00:34Free preview
Who is the course for and prerequisites
00:32Free preview
Why do we have LINQ?
05:36
A language for querying data
02:02
A first LINQ example
05:21
Why would you want to use LINQ?
03:34
Section recap
00:37
Introduction to our demo solution
03:05
Using a simple where clause
04:29
Refactoring statements into functions
03:45
Chaining multiple where clauses
03:18
Ordering data
04:00
Multi-level ordering
03:24
Using a custom comparer to order
02:56
Section recap
00:54
What is deferred execution in LINQ?
09:33
Retrieving all results
09:48
Retrieving a single item
10:40
Projecting the data to another shape
11:22
Section recap
00:43
Introduction to getting partial results
02:57
Splitting results into chunks
06:20
Using Skip, Take and TakeWhile to retrieve a specific result
With 20 years in .NET development, Hannes has always been passionate about performance, databases, distributed systems and large-scale applications. When it comes to architecture, his opinions have become a bit more nuanced, and the "it depends" card, however boring, gets played in many technical discussions. Hannes has always had a passion for sharing knowledge. It doesn't matter whether it is one-to-one while pair programming, on a conference stage giving a talk or when he's helping people succeed in their careers as a coach. In his free time, when he's not building LEGO® castles with his three kids, he likes to stream his guitar building on Twitch and spends too much time playing online chess and doing all-around geeky stuff. You can always lure him into a chat over a glass of great Whisky.