No. Escaping / externalizing the string is your only choice.
More Related Contents:
- Can I escape a double quote in a verbatim string literal?
- Java equivalents of C# String.Format() and String.Join()
- C# equivalent to Java’s charAt()?
- Is there an equivalent to the Scanner class in C# for strings?
- What does the @ prefix do on string literals in C#
- Can I convert a C# string value to an escaped string literal?
- Get string between two strings in a string
- String output: format or concat in C#?
- Difference between Equals/equals and == operator?
- Are string literals const?
- Differences in string compare methods in C#
- Efficient way to remove ALL whitespace from String?
- Comparing two strings, ignoring case in C# [duplicate]
- How to replace multiple white spaces with one white space
- Convert JSON String to JSON Object c#
- Is there an alternative to string.Replace that is case-insensitive?
- Can I “multiply” a string (in C#)?
- Need to perform Wildcard (*,?, etc) search on a string using Regex
- Is String a primitive type?
- How to split a number into individual digits in c#? [duplicate]
- Extending an enum via inheritance
- Convert XmlDocument to String
- How do I get the last four characters from a string in C#?
- Why does .ToString() on a null string cause a null error, when .ToString() works fine on a nullable int with null value?
- Converting String To Float in C#
- Stroke Width Transform (SWT) implementation (Java, C#…) [closed]
- How to check if a String contains any letter from a to z? [duplicate]
- Does C# have a String Tokenizer like Java’s?
- convert string array to string
- How can I safely convert a byte array into a string and back? [duplicate]