What does break do in loop?



What does break do in loop?..

Answer / Meenu Tiwary

The break statement is used to exit a loop (for, while, or do-while) immediately. When executed inside a loop, the control jumps out of the current loop and continues with the next statement outside the loop.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

code to generate a excel sheet and to write data into it --- -it has to fetch the excel sheet which is in one folder placed by us inside a project folder(i,e it has to create a instance of that excel sheet) and write the data into it row by row please respond as early as possible

1 Answers  


What is the predicate of a sentence?

1 Answers  


How many catch blocks can be there for a single try block?

5 Answers   Clover, HCL,


What is the use of 'using' statement in c#?

1 Answers  


Is list ienumerable c#?

1 Answers  


Can interface inherit class in c#?

1 Answers  


What is overloading with example?

1 Answers  


What is the difference between package and interface?

1 Answers   Hexaware,


How do you concatenate in c#?

1 Answers  


Explain the difference between a struct and a class?

1 Answers  


Why reflection is used in c#?

1 Answers  


Why we use methods in c#?

1 Answers  


Categories