asp.net.ph

Skip Navigation LinksHome > Getting Started > ASP.NET Programming Languages Primer > Controlling Program Flow

ASP.NET Programming Languages Primer


Controlling Program Flow

There are basically three forms of statements used to control program flow:

  • Conditional statements that allow selective execution of statements based on a condition.
    • if statements
    • switch statements
  • Loop statements that enable repeated execution of statements as long as a condition is true.
    • for statement
    • while statement
    • foreach statement
  • Jump statements that enable transfer of control to a specified statement.
    • break statement
    • goto statement
    • continue statement
    • exit statement
    • return statement
More ...
Back to top


© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note