to count amount of lines in string
Hi, I am beginning in c# (in English too :D)but, I need help...
I need to read a text and to separate each line in one string. I was thinking about a array of string, thus I would need an only variable to store the content, separate for an index.
But I don't know how as to make this.
How to know the amount of lines of a Text?
And, how to store in a array?
Thanks... and sorry my bad English!:D