Share via


break Statement

break;

The break keyword terminates the smallest enclosing do, for, switch, or while statement in which it appears.

For more information, see switch, for, while, and continue.