How to Break/Exit For Loop in C#/CSharp

To break loop in C#/CSharp, we make use of break statement.  Following example demonstrates how you can break or exit for loop in C# when a certain condition is met.

 

 

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •