Posts Tagged ‘symbol’
@ Symbol in C##
The @ symbol tells the string constructor to ignore escape characters and line break
The following two strings are therefore identical:
-
-
string p1 = "\\\\My Documents\\My Files\\";
-
string p2 = @"\\My Documents\My Files\";