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.
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.