Use a duplicated double quote.
@"this ""word"" is escaped";
outputs:
this "word" is escaped
More Related Contents:
- Can I convert a C# string value to an escaped string literal?
- Unrecognized escape sequence for path string containing backslashes
- @(at) sign in file path/string [duplicate]
- Convert XmlDocument to String
- Java equivalent of C#’s verbatim strings with @
- How can I Unescape and Reescape strings in .net?
- What does the @ prefix do on string literals in C#
- When did C++ compilers start considering more than two hex digits in string literal character escapes?
- C# – What does “\0” equate to?
- De-serializing json format string
- How to add a char every X specific char in C# [closed]
- Evaluating string “3*(4+2)” yield int 18 [duplicate]
- C# string replace does not actually replace the value in the string [duplicate]
- How do I generate a stream from a string?
- How to remove illegal characters from path and filenames?
- How do I replace the *first instance* of a string in .NET?
- Are there any Fuzzy Search or String Similarity Functions libraries written for C#? [closed]
- Get the index of the nth occurrence of a string?
- C# Double – ToString() formatting with two decimal places but no rounding
- How to convert a UTF-8 string into Unicode?
- What’s so bad about building XML with string concatenation?
- Best way to split string into lines
- How can I put quotes in a string?
- How to (un)escape strings in C/C++?
- Split string into string array of single characters
- DateTime conversion from string C#
- Why doesn’t VS 2008 display extension methods in Intellisense for String class
- Extract only right most n letters from a string
- Parsing formatted string
- Parsing through Arabic / RTL text from left to right