© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
20 replies
TypicalSoldier

✅ Index was outside of bounds of the array

I've written a Morse Code translator, and it pretty much works 100% besides the fact it throws an exception "Index was outside of bounds of the array " every time I try to convert from Morse Code to English. The code uses dictionarys and the TryGetValue method to do the conversion.
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

❔ System.IndexOutOfRangeException: 'Index was outside the bounds of the array.'
C#CC# / help
3y ago
❔ System.IndexOutOfRangeException: 'Index was outside the bounds of the array.'
C#CC# / help
3y ago
index outside the bounds of array error
C#CC# / help
3y ago
❔ Index outside the bounds of the array with await
C#CC# / help
3y ago