Following my question on serializing a System.Array to a Xml string, I would like to ask if anyone knows of a one-line instruction to go the other way round, that is, to convert a Xml string such as
<Root><Element>a</Element><Element>b</Element></Root>
to a new string[] { "a", "b" } object. I suspect that using String.Split would be enough for the case, but it doesn’t seem like the most elegant solution, does it?
How about
I would advise making this more than one line for readability.