+ 1
What is verbatim string?
What is the meaning of verbatim string and what is the usage?
2 Respostas
+ 3
string str = @"c:\documents and settings\";
This way you don't need to escape the backslash characters. It takes the string literally verbatim.
Very common when using for file paths, urls etc.
see here:
https://goo.gl/04mVAR
+ 1
Thanks @Chaotic