Range implementing IEnumerable<int> #68441
Unanswered
lucasteles
asked this question in
General
Replies: 2 comments
-
Transferring to runtime. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Duplicates #462 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think would be great to have a simpler way to define a collection range outside
Enumerable.Range
, which is not from-to, It is from and size.A way to do that today is using the
Range
data type.If
Range
implements IEnumerable this could work nice, dropping the use of.AsEnumerable()
and gaining a cool syntax to define rage valuesBeta Was this translation helpful? Give feedback.
All reactions