© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
78 replies
Kirri • キリです

✅ Troubles with looping

I'm building a text based adventure game to try and practice some syntaxes, as I'm a beginner. I'm stuck at this one part in the code where I need to repeat the loop only once if the user inputs an invalid input, however, despite me putting a valid input in there, it repeats it once, and after reinputting the same thing, it continues. I have one debug thing in there, please ignore that as I'll get rid of it whenever I figure this loop out. I'll post it after sending this, sending the entire code goes over the discord text limit.
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
Next page

Similar Threads

troubles with list length
C#CC# / help
4y ago
troubles with a simple list...
C#CC# / help
4y ago
❔ Looping problem
C#CC# / help
3y ago
GC Troubles
C#CC# / help
14mo ago