© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
11 replies
A Name

❔ Index Out of Bounds Exception

cs                       
 for (int LinesLeft = LinesOfContent.Length-1; LinesLeft >=0; LinesLeft--)
                        {
                            SearchStringForInts(LinesOfContent[LinesLeft]);
                            
                        }
cs                       
 for (int LinesLeft = LinesOfContent.Length-1; LinesLeft >=0; LinesLeft--)
                        {
                            SearchStringForInts(LinesOfContent[LinesLeft]);
                            
                        }

seems to throw an error on this line
if needed I can disclose the function, although the log seemed to think it was on this line
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
C#CC# / help
11mo ago
✅ Index was outside of bounds of the array
C#CC# / help
3y ago
✅ Index Outside Of Bounds System.Data.SQLite
C#CC# / help
2y ago
index outside the bounds of array error
C#CC# / help
3y ago