The following character escape sequences are avaiable in c#
\’ | single quote, needed for character literals | |
\” | double quote, needed for string literals | |
\\ | backslash | |
\0 | Unicode character 0 | |
\a | Alert (character 7) | |
\b | Backspace (character 8) | |
\f | Form feed (character 12) | |
\n | New line (character 10) | |
\r | Carriage return (character 13) | |
\t | Horizontal tab (character 9) | |
\v | Vertical quote (character 11) | |
\uxxxx | Unicode escape sequence for character with hex value xxxx | |
\xn[n][n][n] | Unicode escape sequence for character with hex value nnnn (variable length version of \uxxxx) | |
\Uxxxxxxxx | Unicode escape sequence for character with hex value xxxxxxxx (for generating surrogates) |
for more informations take a look at What character escape sequences are available? written by the amazing Jon Skeet
RT @CodeSnippetsNET: What character escape sequences are available in C# or http://t.co/85naMTtT4u?: http://t.co/bWrsedctvz #csharp
Hello, plz change the background color, grey text on black is difficult to read.
thank you for your suggest, i’ve fixed that 🙂