In my last video, I started with a series on .Net Core Framework advanced topics. And the first video was on LINQ internals, specifically doing a deep dive into the Where extension method.
LINQ or Language-Integrated Query is a framework or technology based on integrated query capacity into .Net Core (or .Net Framework) languages like C#. It was released with version 3.0 of C# and been ever since an integral part of C# development.
In this video, I will first walk through creating an application to use the Select statement of LINQ to transform an array of Customers. Using the Select statement, we will get only the names of the customers from the Customer array. And then I will subsequently implement the same function from scratch, to achieve the same outcome.
After that, I will flatten the same customer data structure using the SelectMany extension method to extract only the phone numbers of the Customer. And then subsequently I will implement the same function from scratch.
This will demonstrate what is the internal implementation of Select and SelectMany.
The source code for this and the previous video is available here: https://github.com/choudhurynirjhar/l...