Is there a way to write in Visual Studio in nice formated way the row bellow?
string x = "<Site name=\"Stack Overflow\" >Inner Content</Site>";
so that it would look like:
string x= "<Site name="Stack Overflow">
Inner content;
</Site>"
Have you tried using a string literal?
I’m not entirely sure that’s what you’re asking for though. Are you looking to see if you can get Visual Studio to format the code to look that way? If so there is no way to do this in the C# Editor.