© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
17 replies
n8ta

[resolved] Cs equivalent of (0..10).map [Answered]

In rust I'd write smoething like (0..10).map( to iterate over a range of numbers. Obviously I can do it with a for loop but I'd prefer an IEnumerable that I can select on.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Where is AssemblyInfo.cs [Answered]
C#CC# / help
4y ago
MAUI Entry Point - MauiProgram.cs [Answered]
C#CC# / help
4y ago
VScode-equivalent functions in MSVS [Answered]
C#CC# / help
4y ago