C # string verbatim

Esempi di codice

0
0

c # string verbatim

//start @ character
string str = @"dont have to escape \ sign, use double "" for single  ";
//dont have to escape \ sign, use double " for single
0
0

verbatom letterale

A verbatim string literal consists of an @ character followed by a double-quote character, zero or more characters, and a closing double-quote character. ... In a verbatim string literal, the characters between the delimiters are interpreted verbatim, the only exception being a quote-escape-sequence

Pagine correlate

Pagine di esempio simili

In altre lingue

Questa pagina è in altre lingue

Русский
..................................................................................................................
English
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................