Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
❔ How do I search through a list for the first missing value in a range of numbers? - C#
C
C#
•
4y ago
•
20 replies
deathsangel1234
❔ How do I search through a list for the first missing value in a range of numbers?
For instance
; a list of
0, 1, 2, 4, 5, 6, 7, 9
0, 1, 2, 4, 5, 6, 7, 9
would return 3 if you
're looking for the first
"missing
" value
.
Likewise
, a list of
1, 2, 4, 5, 6, 7, 9
1, 2, 4, 5, 6, 7, 9
would return 0
.
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
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
how to search for a value in a list
C
C# / help
4y ago
Search object Inner list for value
C
C# / help
15mo ago
❔ How would I go about looping through a json file and search for the highest value in a category?
C
C# / help
3y ago
❔ ✅ Missing a first element of the output
C
C# / help
3y ago