Going on last rline in textbox
<p>How can i get the last line in a textbox by clicking a button. With that code i get the first line ... </p>

<pre><code> private void btnProbe_Click(object sender, EventArgs e)
    {

       string[] first = txtRec.Text.Split(new char[] { '\n' }[0]);
       probe.Text = txtRec.Lines[0];
    }
</code></pre>
