Jump Statements in C#

Jump statements are keywrds that allow to control the flow of execution in a program, these are used to transfer control from one point to another point in a program 

5 keywords for jump statements

  • break : loops can be broken, used in switch statements too
  • continue : an iteration can be skipped inside a loop with this keyword
  • goto : transfers program control to a labeled statement
  • return
  • throw : used to throw an exception in exception handling


Comments