What are you expecting to see? GetLines is an array, it has no natural representation as a string so when you use ToString it returns the type name which is why you see "string[]". The easiest way to see it as a string is to use string.Join
Result = string.Join (", ", GetLines(Result))
the above will show each element comma separated
e1, e2, etc
Result = string.Join (" ", GetLines(Result))
will show then in a line
e1 e2 etc
Or maybe you want to show them with html breaks if that is how your PDF works
Result = string.Join ("<br />", GetLines(Result))
We don't know what you want the array to look like so it's hard to give a definitive answer.