Things I Didn't Know About C# Part 2: The Goto Statement


Please note that I don’t endorse the use of the Goto statement 😀 This series is all about the funny/weird and lesser known parts of the language 🙂 Enjoy!

More videos here:

And over at Twitter:


Xem Thêm Bài Viết Khác:


  1. Awesome video, I don't use much goto but some weirdness in business requirement might pop up and this can be useful to solve it.

  2. I had never used goto before nor have I ever had the need to because it was made out to be a nightmare especially for someone who has to read your code, it messes up the flow resulting in "spaghetti code". Recently I've had to deal with a problematic loop(s), I had nested loops and inner would break the loop before the outer had finished, it was important for the outer to finish first and the only way to sort out my problem was to use goto, so I guess it depends on how you use it.

  3. Wow!!! Thanks a lot, you're awesome dude. I'm stutying for my test and this video is excelent, fast and simple. Sorry for my bad english.

  4. I used to use goto a lot in my pre-Academy days working in VBA. A subroutine would start with 'On Error goto bar' and at the end of the subroutine would be a label for error handling. Basic will be basic I guess. Keep up the great work!


Please enter your comment!
Please enter your name here