Unreachable code | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Unreachable code

Does anyone know what ‘unreachable code’ means? I have a c# program that works just fine, but every time I run it I get 20+ unreachable code errors below the output, but it doesn’t effect the program at all. https://code.sololearn.com/cdVRfRk9FHUq/?ref=app

1st Jan 2022, 3:08 PM
SENTI3NT
SENTI3NT - avatar
1 Réponse
0
delete the `break` after `return` works
1st Jan 2022, 3:14 PM
FanYu
FanYu - avatar