Unrecognized escape sequence for path string containing backslashes
string foo = "D:\Projects\Some\Kind\Of\Pathproblem\wuhoo.xml";
You can either use a double backslash each time
string foo = "D:\\Projects\\Some\\Kind\\Of\\Pathproblem\\wuhoo.xml";
or use the @ symbol
string foo = @"D:\Projects\Some\Kind\Of\Pathproblem\wuhoo.xml";
网友评论