IOHelperCombine Method

Combines two strings into a path.

Definition

Namespace: Configuration.Helper
Assembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
C#
public static string Combine(
	string path1,
	string path2
)

Parameters

path1  String
The first path to combine.
path2  String
The second path to combine.

Return Value

String
The combined paths. If one of the specified paths is a zero-length string, this method returns the other path. If path2 contains an absolute path, this method returns path2.

See Also