© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
25 replies
Fotzenfritz

❔ ✅ Hey is there a way to check if something is in a list in a certain range from the list ?

Like for example i got a list of [2, 1,5, 6,3, 4, 1] and i want to see if there is a five in the list from position 4- 6 without using a for loop ?
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

✅ Check if an item is in a list
C#CC# / help
2y ago
❔ What's the easiest way to see if a list contains a certain string?
C#CC# / help
3y ago
fastest way to check if list doesn't contain null ?
C#CC# / help
16mo ago
Better way to check a list of characters?
C#CC# / help
2y ago