C# 特殊字元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 are prepended. C# 支援下列特殊字元:C# supports the following special characters:

  • @,逐字識別項字元。@, the verbatim identifier character.

  • $,內插字串字元。$, the interpolated string character.

另請參閱See also