C# Code- Do you know String should be @-quoted instead of using escape character for "\\"?
1/05/2018 8:21 AM by
The @ symbol specifies that escape characters and line breaks should be ignored when the string is created.
As per: Strings
string p2 = "\\My Documents\\My Files\\";Figure: Bad example - Using "\\"
string p2 = @"\My Documents\My Files\";Figure: Good example - Using @
Do you feel this rule needs an update?