Which C# keyword is used to coming out from the loop?

50. Which C# keyword is used to coming out from the loop?

  1. break
  2. continue
  3. Both A and B
  4. None of the above

Answer: A) break

Explanation:

The C# break keyword breaks the execution of the loop and sends the program’s control to the next statement written after the loop.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.