c# - Is it correct to use the Uri class to manipulate folders? -
i know if correct use uri class create local path "c:/my folder/my subfolder" ?
i ask question because when manipulate uri errors.
string foo = new uri(uri1, uri2).absolutepath; the absolutepath return absolute path replace space %20. should do? see 2 solutions
- stop using uri , replace correct class.
- replace %20 space. dont't one
you use path class.
path.combine(@"c:\my folder", "my subfolder");
Comments
Post a Comment