LINQ
1 program
Added 2026-03-12T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Language Integrated Query
Provenance: commit 642b8e7c6c · authored 2026-03-12T09:23:00+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
2 sources · pl_id:
pl/linqRelated languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Query Syntax vs Method Syntax
Provenance: commit 642b8e7c6c · authored 2026-03-12T09:23:00+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
// Basic LINQ query syntax demonstration
// Source: Microsoft LINQ documentation
int[] numbers = { 5, 10, 8, 3, 6, 12 };
// Query expression (declarative syntax)
IEnumerable<int> numQuery =
from num in numbers
where num % 2 == 0
orderby num
select num;
// Method syntax (equivalent)
IEnumerable<int> numQuery2 = numbers.Where(num => num % 2 == 0).OrderBy(n => n);
Console.Write("Query syntax: ");
foreach (int i in numQuery)
Console.Write(i + " ");
Console.Write("\nMethod syntax: ");
foreach (int i in numQuery2)
Console.Write(i + " ");
Console.WriteLine();