C# > Escape sequences
The special escape character is the backslash character (\).
\" Display a double quotation mark.The special escape character is the backslash character (\).
\' Display a single quotation mark.
\\ Display a backslash.
\0 Null
\a Alarm
\b Backspace
\f Form feed
\n Newline
\r Carriage return
\t Tab
\v Vertical tab
Result is:
Dan said: "Hello world!"
string path = "C:\\MyDir";
Result is:
C:\MyDir