adspace
Answer Posted / Sushil Dayal
In C#, both continue and break statements are used in loops for control flow. However, they operate differently:n- Continue: When encountered within a loop, the current iteration is ended immediately, and the next iteration begins.n- Break: When encountered within a loop, the entire loop is terminated, and the program continues with the following statement outside the loop.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers