I have a filepath string defined like so:
string projectPath = @"G:\filepath\example\example\";
however when I debug:
projectPath = G:\\filepath\\example\\example\\
am I missing something? I thought the @ was for literal string's so I don't have to escape backslashes. If I try escaping
string projectPath = "G:\\filepath\\example\\example\\";
I get the same problem, any ideas?
EDIT: Apparently this is a non-issue, my code just happens to break where projectPath is used:
string [] folders = Directory.GetDirectories(projectPath);
I guess I have an incorrect path?
EDIT 2: the issue wasn't the string, it was an access denied on the folder I tried to access. Oops!