csharp for each textbox lines

Code Example - csharp for each textbox lines

                
                        foreach(string line in textBox1.Lines)
{
    //your code, but working with 'line' - one at a time

}