[Solved] How to I string the Last Line text in MultiLine text box if I key the Enter


Here’s how to find the last line in a multi line text box:

if(textbox1.Lines.Length>0){
    string lastLine = textbox1.Lines[textbox1.Lines.Length-1];

    //put more code here

}

0

solved How to I string the Last Line text in MultiLine text box if I key the Enter