This is my first question about this amazing service, because today it really helped me just by reading it.
I am currently making a small C # application where I need to use many text fields. In the TextBox properties, I checked the MultiLine and Word-Wrap functions. Therefore, when a user enters text, it is displayed correctly in several lines.
My problem is how can I get these lines that appear on the form in the list of lines instead of one big line.
I have not yet highlighted the Word-Wrap weather function by creating new lines or adding "\ n \ r" at the end of each line. I tried to get strings from TextBox.Lines , but it only has TextBox.Lines [0] which contains the entire string form of the TextBox
I have already tried and researched a lot of resources, but I still have not found the right solution to this problem.
source share