src/sys/dotnet/fanx/util/FileUtil.cs
/// <summary>
/// Combine the string array into a valid file path.
/// </summary>
Combine the string array into a valid file path.
Combine the string array into a valid file path .
public static string combine(string[] paths)
    {
      string s = paths[0];
      for (int i=1; i<paths.Length; i++)
        s = Path.Combine(s, paths[i]);
      return s;
    }
public static string combine ( string [ ] paths ) { string s = paths [ 0 ] ; for ( int i = 1 ; i < paths . Length ; i ++ ) s = Path . Combine ( s , paths [ i ] ) ; return s ; }
Combine the string array into a valid file path.
Combine the string array into a valid file path .
// TODO - pretty naive - could be better and faster.
paths
string[]