Using @ infront of literal strings

By | June 15, 2006

Using @ infront of literal strings lets you do:

instead of:
“C:\\directory\\file.xml”
or
“SELECT field FROM table where field=var”

you can do:
@”C:\directory\file.xml”
and
@”SELECT
field
FROM
table
WHERE
field = var”