using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
public static class IOExtensions
{
public static string Combine(params string[] paths)
{
if (paths.Length == 0)
{
return string.Empty;
}
string path = paths[0];
for (int i = 1; i < paths.Length; i++)
{
path = Path.Combine(path, paths[i]);
}
return path;
}
}