Skip to content

new List<T>(IEnumrable<T>) & List<T>.AddRange(IEnumerable<T>) doesn't use IIListProvider. #98845

Discussion options

You must be logged in to vote

Well, you said that the result would be comparable to using Range(...).Select(....),

No, I didn't. I said that ToList and new List would be comparable when using an iterator as the input.

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@stephentoub
Comment options

@ActivistInvestor
Comment options

@stephentoub
Comment options

@stephentoub
Comment options

Answer selected by ActivistInvestor
@ActivistInvestor
Comment options

@stephentoub
Comment options

@ActivistInvestor
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #98835 on February 23, 2024 08:04.