See the code below. I'm not sure why the two extra //
are appearing before the file extension or how to best handle?
string avatarFilePath = "~/_images/avatar/";
string userId = 53da95a1-cc48-42d0-9a00-167f47ce5933";
string avatarFileExt = ".png";
string path = Path.Combine(avatarFilePath, userId, avatarFileExt);
//value of 'path' is: "~/_images/avatar/53da95a1-cc48-42d0-9a00-167f47ce5933\\.png" <-- note two slashes before extension