© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
14mo ago
•
2 replies
fraantic
How can I check if an index of a 2d array is out of bounds?
tittle
if (array[value1][value2] == outOfBounds) {
// do smth
}
if (array[value1][value2] == outOfBounds) {
// do smth
}
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
❔ Index Out of Bounds Exception
C
C# / help
3y ago
index outside the bounds of array error
C
C# / help
3y ago
✅ Index was outside of bounds of the array
C
C# / help
3y ago
✅ How can I print a 2D array
C
C# / help
4y ago