C
C#2y ago
AriieSiiS

inaccessible code?

Maybe I'm stupid and I don't see what's going on, but I got an "inaccessible code" error and I don't understand why.
3 Replies
Thinker
Thinker2y ago
while (!true) will never execute It'll come to the while (!true) statement, evaluate !true, see that that's false, then just not run the while loop
AriieSiiS
AriieSiiSOP2y ago
ok i am stupid and forgot to change the variable name and put the true and not the name of the bool ty, i guess the answers is: yes, you are stupid
Thinker
Thinker2y ago
everyone's stupid sometimes, no worries
Want results from more Discord servers?
Add your server