C# Special Characters
Special characters are predefined, contextual characters that modify the program element (a literal string, an identifier, or an attribute name) to which they're prepended. C# supports the following special characters:
- @, the verbatim identifier character.
- $, the interpolated string character.
- """, A sequence of three or more
"
characters provides the delimiters for a raw string literal. - _, a
_
character represents a discard, which is a placeholder for an unused variable.
This section only includes those tokens that aren't operators. See the operators section for all operators.
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.