CSharpStringFormats Enum

[Flags]
public enum CSharpStringFormats

No documentation is available.

Fields

NameValueDescription
Quoted1Quoted string literals start and end with a single double quote character (") on the same line. Quoted string literals are best suited for strings that fit on a single line and don't include any escape sequences.
Verbatim2Verbatim string literals are more convenient for multi-line strings, strings that contain backslash characters, or embedded double quotes. Verbatim strings preserve new line characters as part of the string text. Use double quotation marks to embed a quotation mark inside a verbatim string.
Raw4Beginning with C# 11, you can use raw string literals to more easily create strings that are multi-line, or use any characters requiring escape sequences. Raw string literals remove the need to ever use escape sequences. You can write the string, including whitespace formatting, how you want it to appear in output.
LeftAlignedRaw8Beginning with C# 11, you can use raw string literals to more easily create strings that are multi-line, or use any characters requiring escape sequences. Raw string literals remove the need to ever use escape sequences. You can write the string, including whitespace formatting, how you want it to appear in output.
DetermineFeatureFromPdb16Determine the allowed syntax from the PDB file. If an incompatible mode is provided, it won't be used.
Default23