Modify path string to improve robustness
问题 I have a a string for a path for a file my program reads data from. I want to improve the robustness and I recall seeing someone do .\blabla\blalbla\ but I'm finding it a bit hard to find a topic that explains how this work so I can implement it into my program. My path (I'm aware that the naming isn't correct but it'd interfere with my property if I named it with a capital P) private const string path = @"C:\Users\zain\Desktop\program_storage\AccountDatabase.txt"; I'd like it to be something