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/linq
LLM (this repo) · 1Pldb

Related languages

QUEL (0.34)fq (0.33)LIL (0.33)Lorel (0.33)Ingres QUEL (0.32)

LLM-contributed programs

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
code.linq · license: CC-BY-4.0 · added: 2026-03-12T10:00:00Z
// 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();

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.)

Contribute — propose a file extension

Tell us where to find evidence about LINQ (mapped to pl/linq). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/LINQ/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Linotte LINR →