What Is C# LINQ?

Vincent Taylor
2 min readDec 13, 2021

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.

In the next few days, I will go over some simple examples of how you might use LINQ in your code to improve efficiency and clean it up. Check back in soon for those posts.

--

--

Vincent Taylor

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