dotnet / dotnet/csharplang

[Proposal]: `left join` and `right join` query expression clauses

Open
#8,947 0 comments 0 reactions 1 assignee Assigned to @roji View on GitHub
Dominant language
C#
Stars
12.7k
Forks
1.1k
Avg merge
11h 1m
Merged PRs (30d)
3

Description

# `left join` and `right join` query expression clauses

* Specification: https://github.com/dotnet/csharplang/blob/main/proposals/left-right-join-in-query-expressions.md
* Discuss this proposal here: https://github.com/dotnet/csharplang/discussions/8892

## Summary
[summary]: #summary

Introduce `left join` and `right join` clauses into LINQ query expression syntax, e.g.:

```c#
from student in students
left join department in departments on student.DepartmentID equals department.ID
select new { student.Name, department?.Name }
```

## Design meetings

* https://github.com/dotnet/csharplang/blob/main/meetings/2025/LDM-2025-02-12.md#left-right-join-in-query-expressions

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.