This is a .NET question for C# (or possibly VB.net), but I am trying to figure out what\'s the difference between the following declarations:
string hello =
The explanation is simple. To represent the string "string\", the compiler needs "string\\" because \ is an escape character. If you use @"string\" instead, you can forget about \\.
"string\"
"string\\"
\
@"string\"
\\