What Is LINQ?
Explore the fundamentals of LINQ in C# to understand how to work with collections in a declarative style. This lesson introduces the concept of LINQ, its practical use with lists and arrays, and sets the foundation for learning more advanced LINQ methods and applications.
We'll cover the following...
Almost everyone likes watching movies. Either at home or in movie theaters, movies are an experience to share with friends and family. In this course, we’ll use movies to learn about LINQ.
Let’s get started!
What’s LINQ?
What’s LINQ in the first place? Language-Integrated Query (LINQ) is a set of methods to work with collections in a declarative way. C# official documentation says LINQ is a “set of technologies” to bring “query capabilities” to the C# language. But let’s keep it simple for now and stick to our definition.
We can use LINQ with databases and XML files too. We can use it with any collection, we can loop through. However, in this course, we’re focusing on LINQ and collections.