Path.Combine(string, string)

Cambiar al Manual

Descripción

Concatenates two path strings.

If path1 does not end with a valid separator character DirectorySeparatorChar is appended to path1 prior to the concatenation.