The following code always shows path manipulation problem. How to resolve it ?
string pathMaterData = ServerName + "\\MaterData\\";
if (!Directory.Exists(Path.Combine(ServerName, "\\MaterData\\")))
{
Directory.CreateDirectory(Path.Combine(ServerName, "\\MaterData\\"));
}
This line code problem only
Directory.CreateDirectory(Path.Combine(ServerName, "\\MaterData\\"));