Skip to content
Discussion options

You must be logged in to vote

Given that this is an uncommon thing to want to do, having to rely on manual enumeration rather than foreach feels like a sufficient way to address this.

I would also expect that most enumerables aren't able to recover from an exception being thrown like this.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by YashojaLakmith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants
Converted from issue

This discussion was converted from issue #7818 on January 05, 2024 12:04.