I would like to be able to paste chunks of XML into my C# code.
However, the best I can do is the following, but then I have to search and replace " with "".
Is there a way to define multiline XML in C# code without having to alter the XML text like this?
public static string GetXml1()
{
return @"
<Customer>
<FirstName status=""required"">Jim</FirstName>
<LastName status=""required"">Smith</LastName>
</Customer>
";
}