© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
✅ Check if an item is in a list
C
C# / help
2y ago
❔ What's the easiest way to see if a list contains a certain string?
C
C# / help
3y ago
fastest way to check if list doesn't contain null ?
C
C# / help
16mo ago
Better way to check a list of characters?
C
C# / help
2y ago