This website includes Education Information like a programming language, job interview question, general knowledge.mathematics

Education log

PageNavi Results No.

Ads

Friday, September 27, 2024

what is jump statement in asp.net

 what is jump statement in asp.net


In C#, Jump statements are used to transfer control from one point to another point in the program due to some specified code while executing the program. There are five keywords in the Jump Statements: break



A jump statement is a control statement that modifies the flow of a program by moving execution from one location to another. Some examples of jump statements include:

Break: Exits the current loop iteration

Continue: Starts the next iteration of a loop

Goto: Transfers program control to a specified location 



What is a jump statement with example?

Jumping statements are control statements that move program execution from one location to another.

 Jump statements are used to shift program control unconditionally from one location to another within the program. 

Jump statements are typically used to abruptly end a loop or switch-case


No comments:

Post a Comment