In the Verbatim line, backslashes are treated as standard characters, not escape characters. The only character that needs escaping is quotation marks, which you can escape with the same character:
string s2 = @"This is \ta ""verbatim"" string";
Of course, you can never add special characters such as \t (tab) using this method, so this is only useful for simple strings - I think I only ever use this when dealing with file paths.
source share