I have an issue path combine.
...
repository.ConfigDir = Path.Combine(repository.Dir, @"\Config");
repository.CredFile = Path.Combine(repository.ConfigDir, @"\Credentials.xml");
System.out.println(repository.ConfigDir);
System.out.println(repository.CredFile);
Output:
"C:\Users\username\Documents\Config"
"\\Credentials.xml"
Why my first part of the path is missing in CredFile
?