c# get string from texbox line code example Example: c# get string from texbox line textBox1.Lines[0]