What means @ before string in C#?
C#
3
Posts
2
Posters
0
Views
1
Watching
-
Hello ! I'm new to C# and I've found in one sample from Codeproject something like this: string temp=@"temp string blah blah"; What does that @ before string ? Thanks
It means verbatim string literal[^], so special characters don't need to be escaped.
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) -
It means verbatim string literal[^], so special characters don't need to be escaped.
Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)