Is there an easy way to create a multiline string literal in C#?
Here\'s what I have now:
string query = \"SELECT foo, bar\" + \" FROM table\" + \" W
One other gotcha to watch for is the use of string literals in string.Format. In that case you need to escape curly braces/brackets '{' and '}'.
// this would give a format exception string.Format(@"", aMagicValue) // this contrived example would work string.Format(@"", aMagicValue)