[Proposal]: Collection expressions #8652
Labels
Implemented Needs ECMA Spec
This feature has been implemented in C#, but still needs to be merged into the ECMA specification
Proposal champion
Milestone
Collection expressions
Summary
Collection expressions introduce a new terse syntax,
[e1, e2, e3, etc]
, to create common collection values. Inlining other collections into these values is possible using a spread operator..
like so:[e1, ..c2, e2, ..c2]
.Design meetings
..
IEnumerable<T>
, and dictionary elementsMemory<T>
or inline arraysSee also:
Working group meetings
The text was updated successfully, but these errors were encountered: