What Is C# LINQ?

LINQ (Language-Integrated Query) is a set of integrated C# capabilities which allow queries against data.

In the next few posts, I will be going over the basics of the LINQ, or Language-Integrated Query, language in C#.

What Is It?

LINQ is the name of a set of technologies based on the integration of query capabilities directly into the C# language. Traditionally, queries against data are expressed as simple strings without type checking at compile time or IntelliSense support.

Microsoft Documentation

To add to that, LINQ allows easier access to and dealing with different types of data, such as common C# data types, SQL, and XML, all with a single method/syntax.

Using LINQ:

LINQ is stored in the “System.Linq” namespace in C#. To use it in a script, include this namespace.

Following that, you are free to use any LINQ commands in your code to deal with data.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vincent Taylor

Unity game developer / C# Programmer / Gamer. Australian (Tasmanian) indie games developer for 10+ years. Currently looking for games industry employment.