Getting Started with LINQ in C# @WorldOfZeroDevelopment
Getting Started with LINQ in C#  @WorldOfZeroDevelopment
Uploaded April 2018 | Updated November 2026, 3 hours ago
LINQ can be confusing and some of the ways it works may not be intuitive if you're unfamiliar with them. Let's take a look at writing some basic LINQ queries and dissect how they work.

We'll discuss how LINQ queries are evaluated and some of the results of lazy evaluation. In addition we will look at building our own infinite list in C# using the yield command.

We'll explore a few different queries and some common commands you can use while writing them to avoid having to implement the functions yourself including how to transform objects using Select, filter objects using Where and collect results using functions like Min, Max and Sum. To prevent infinitely looping when evaluating our infinite list we will also take advantage of the Skip and Take commands to skip over N elements and take N elements from a list respectively.

Microsoft has published their own intro to LINQ. You can find it here: docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/introduction-to-linq-queries

There is more information here as well: msdn.microsoft.com/en-us/library/bb308959.aspx

The World of Zero Discord channel: discord.gg/hU5Kq2u
Getting Started with LINQ in C#Live Coding Event Based GameObject Health in UnityExploring Top-Level Programs in C# 9Installing Nyancat using the .NET CLIHDRP Post Processing Volumes in UnityAn Appendable List with Operator OverloadingUsing .NET Interactive and Jupyter NotebooksDetecting Objects with Raycasts in Unity3DUsing Command Prompt to Create a Symbolic Link on WindowsBuilding GLSL Shaders in a Real Time Shader Editor - KodeLifeParsing Text With Regular Expressions - Unity Observer - Part 5Wind Mapped Snow - Dynamic Snow in Unity - Part 6
World of Zero |

Getting Started with LINQ in C#

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER