I\'m working on a C# project where I must build paths to various files and folders. These are all under one root folder which I have specified in my Web.config file.
Use Path.Combine to concatenate path tokens.
If the path is a file to set/change the extension use Path.ChangeExtension.