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.
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.