In this recipe, we will be using LINQ inside our .NET Standard 2.0 library. LINQ stands for .NET Language-Integrated Query. LINQ defines a set of general purpose standard query operators: list, select, sort, and projection operators in any .NET-based programming language. The standard query operators allow queries to be applied to any IEnumerable<T>
—based information source.
We will be building a .NET Standard 2.0 library that utilizes LINQ and use the library in the next recipe.
Let's get prepared by opening Visual Studio 2017 and creating a .NET Standard 2.0 library-based project. We can start with a blank solution and later on add the library project.