Difficulty: Easy
Correct Answer: 4, 5
Explanation:
Introduction / Context:
Loop control in C# uses structured jump statements to exit or skip iterations. Knowing which statements actually leave the loop is key.
Given Data / Assumptions:
Concept / Approach:
“break” exits the nearest loop. “goto” can jump to a label outside the loop (within the same method). “continue” skips only to the next iteration. “exit” and “exit statement” are not C# keywords (Environment.Exit exists but is not a statement).
Step-by-Step Solution:
Verification / Alternative check:
Any C# reference shows “break” and “goto” as valid jump statements.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing “continue” with “break”.
Final Answer:
4, 5
Discussion & Comments