How to make a variable in a path in c#? For like creating a user register/login/stats.
string UserName = "";
string path = @"c:\File\File\" + UserName + ".text";
I know this doesn't work, maybe does anybody know how to do it else, I search around and never found a solution to get a path like this.
I hope somebody will solve it!