Answers for "jhow to create directory in c#"

C#
2

how to create directory folder in c#

string subPath ="ImagesPath"; // Your code goes here

bool exists = System.IO.Directory.Exists(Server.MapPath(subPath));

if(!exists)
    System.IO.Directory.CreateDirectory(Server.MapPath(subPath));
Posted by: Guest on July-15-2021

Code answers related to "jhow to create directory in c#"

C# Answers by Framework

Browse Popular Code Answers by Language