Timeline for Avoiding the goto voodoo?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 23, 2019 at 17:49 | history | edited | mdfst13 | CC BY-SA 4.0 |
deleted 18 characters in body
|
Jan 23, 2019 at 17:43 | comment | added | Taco |
In the C# language you cannot jump over variable declarations. For proof, launch a console application and enter the code you provided in your post. You'll get a compiler error in your label stating that the error is use of unassigned local variable 'message'. In languages where this is allowed it is a valid concern, but not in the C# language.
|
|
Jan 23, 2019 at 17:38 | history | answered | mdfst13 | CC BY-SA 4.0 |