O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The goto Statement

The goto statement transfers program control to a position specified by the programmer. Consequently, it interferes with the usual sequential execution of a program.

The goto statement has had a long controversial history. One of the first languages to include this language construct was an early version of FORTRAN. However, in the late 1960s, most of the 1970s, and even presently at rare occasions, the pros and cons of this semi-structured language element are hotly debated among programmers and language designers.

Note

Most programmers and computer language experts agree that indiscriminate use of the goto statement leads to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required