This page is a work in progress.You can help improve it. →

Terminology

TermDefinition
LINQStands for Language INtegrated Query. It is a set of methods our various collections (e.g. List) will acquire once we add LINQ to our codebase.
ExpressionsA combination of operands (variables, literals, method calls) and operators that can be evaluated to a single value.
SelectMakes a new list, of equal size, by running an expression on every item in the list and using that value when filling the new list.
CountDetermines and returns how many items are in our list.
WhereThe Where statement is like a filter. Makes a new list, of equal or smaller size by running an expression against every item, keeping items when the expression returns true.
AggregateReturns a single value. It starts with a value we will call the current value. The given expression gets to use, one at a time, the current value and the item from the list, returning a new current value
SumReturns an integer by adding up the value of the expression for each item.
AllReturns a boolean if the expression evaluates to true for every element in the list.
© 2017 - 2022; Built with ♥ in St. Petersburg, Florida.