I have a Question to select the last line of the RichTextBox When i click the Button1 it will show the last line in the Messagebox
I tried a lot of codes by it only select the index of the lines i need your help
I want the output like
these are the lines i write in the RichTextBox
1.hello
2.world
3.welcome
when i click the button1 it will show the last line in messagebox
3.welcome // it will appears in the message box