Alex Rivera | Logout

How do I write the escape char '\' to code

Asked 2013-04-01T17:14:57.080
29

How to escape the character \ in C#?

Edit
Report

1 Answer

1

If you want to output it in a string, you can write "\\" or as a character, you can write '\\'.

answered 2013-04-01T17:16:07.927

Your Answer