Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What character escape sequences are available in C#?

C# character escape sequences
0
Posted

What character escape sequences are available in C#?

0

Thursday, April 09, 2009 7:16 AMXiaoyun Li – MSFT 0Sign In to Vote C# defines the following character escape sequences: \’ – single quote, needed for character literals \” – double quote, needed for string literals \\ – backslash \0 – Null \a – Alert \b – Backspace \f – Form feed \n – New line \r – Carriage return \t – Horizontal tab \v – Vertical quote \u – Unicode escape sequence for character · \U – Unicode escape sequence for surrogate pairs. \x – Unicode escape sequence similar to “\u” except with variable length. For more FAQ about Visual C# General, please see Visual C# General FAQ Please remember to mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123