Normalizes a file path by replacing all directory separator characters with forward slashes.

public static string ToNormalizedFilePath(string filePath, params string combineWith)
Returns:
string

Parameters

filePath string

The file path to normalize. Can be a relative path.

combineWith string

Optional path segments that will be concatenated to the file path.

In this article