Wednesday, July 17, 2019

Make a file folder in C#!

string directory = "C:\\Logs\\";
if (!Directory.Exists(directory))
{
   DirectoryInfo directionInfo = Directory.CreateDirectory(directory);
}

No comments:

Post a Comment