Skip to content

Collection Expression interactions w/ Add functions #7821

Closed Answered by 333fred
dazerdude asked this question in Q&A
Discussion options

You must be logged in to vote

We did that for a few reasons: first, we're concerned about the stability of the error experience, and second, IEnumerable (non-generic) scenarios are generally in legacy collection types that we don't intend to fully support. You can read the notes from the meeting that elaborate these reasons more completely: https://github.com/dotnet/csharplang/blob/main/meetings/2023/LDM-2023-10-02.md#collection-expressions.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
9 replies
@dazerdude
Comment options

@333fred
Comment options

@dazerdude
Comment options

@333fred
Comment options

Answer selected by dazerdude
@dazerdude
Comment options

@333fred
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jnm2
Comment options

jnm2 Jan 6, 2024
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants