13 lines
923 B
Plaintext
13 lines
923 B
Plaintext
'a' // character literal
|
|
'\n' // also a character literal
|
|
"foo\nbar" // string literal
|
|
@"x\n" // same as "x\\n"
|
|
@"x
|
|
y" // same as "x\n y"
|
|
@"""Hi!""" // "" replaces \" to escape a literal quote mark
|
|
<#This string type can contain any symbols including "
|
|
and new lines. It does not support escape codes
|
|
like "\n".#> // same as "This string type can contain any symbols including \"\nand new lines. "
|
|
// + "It does not\nsupport escape codes\nlike \"\\n\"."
|
|
<#Test <# Inner #> end#> // same as "Test <# Inner #> end" (i.e. this string type support recursion.
|