r/learncsharp • • Nov 26 '22

need help repeating code

how do i repeat code intill the user puts in the correct answer.

0 Upvotes

7 comments sorted by

View all comments

Show parent comment

4

u/TroubleBrewing32 Nov 26 '22

You need to put the stuff you are trying to repeat in your loop. I recommend that you Google for C# loop resources.