Wednesday, March 28, 2012

What is the @


I am wondering what the purpose of the "@dotnet.itags.org." character is the following line from the .netCharting tutorial.


chart.Series.SqlStatement= @dotnet.itags.org."addedon, SELECT 1 AS q FROM myusers";
^---------------
It means treat everything between the double-quotes as stringliterals. You use it so you don't have to escape specialcharacters.

0 comments:

Post a Comment