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.

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.

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Data Acquisition Using Web Scraping, Web Crawlers and APIs (Part 1)

Output of the csv file of the data scrapped from web

Brief Introduction To GIT ( DVCS)

Ping: From Pharmacist To Programmer

Introducing the Standard for Authentication Solutions: OAuth 2.0

Defining Errors Out Of Existence

2019 Year in Review

Creating a docker image of a web application written in Go Lang #100DaysOfCode

Slack: System Design Interview

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

Vincent Taylor

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

More from Medium

C# LINQ — “OrderBy”

Switch Statements to the Rescue

Overloading methods in C# & Unity

Unity C#: Static