C# 14 · Collections and LINQ

Join two sequences

Match items from two sequences by a key.

var rows = orders.Join(users, o => o.UserId, u => u.Id, (o, u) => new { u.Name, o.Amount });

Official C# 14 documentation

More collections and linq commands

All collections and linq commands · C# 14 cheatsheet

Was this page helpful?