I am looking for a way to take a C# string and format it so that it is in proper XML format.
EX:
"<quiz><question><text>This is the question</text></question></quiz>
The string is in a single line and I want to format it im a proper XML layout.
I'm not too familiar with C#, but there's an article (with code)
Got an answer for Questions? Would you like to comment on the posted answers, or vote for the one which you think is the best?
Sign up for a free account, or sign in (if you're already a member).
Other people asked questions on similar topics, check out the answers they received: