Do you know how I can explicitly assign xml content to a string? Example:
string myXml = " <?xml version="1.0"?> <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note> "
I want to do this, but with a rather large file. I need this because I want to use it in my unit testing, but it shows a lot of errors when I try to insert content between quotation marks.
source share