LINQ (Language Integrated Query)

LINQ provides a system of query expressions.

This is an expression. It is not executed at that point.

var queryHighScores =   from score in Scores    // the scope
                        where score > 80        // the condition
                        select score;           // the selector

// or as method:

var queryHighScores = Scores.Where(score => score > 80);

Only when it's used to get data from will it actually be executed.

foreach (var score in queryHighScores)          // <= Actually applied!
{
    Debug.Log($"Highscore: {score}");
}