Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

This question already has an answer here:

The title really says it all, but when I use the @ character to ignore escapes in a string literal @"Like This\", the \" is interpreted as a quote character belonging to the string rather than the terminating quote.

share|improve this question

marked as duplicate by ben is uǝq backwards, Rory, animuson, Lucifer, Hugo Dozois Jun 16 '13 at 5:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

That's an issue with google-code-prettify, which Stack Overflow uses, and is not something the Stack Overflow team are likely to remedy.

That said, google-code-prettify is open-source - so feel free to go fix it!

share|improve this answer

Testing

string test1 = @"Like This\";
string test2 = "Like This\\";
share|improve this answer

Not the answer you're looking for? Browse other questions tagged .