EpLibrary.cs.FolderHelper.CreateFolder C# (CSharp) Метод

CreateFolder() публичный статический Метод

Create given folder path from file system
public static CreateFolder ( String path ) : DirectoryInfo
path String the file path to create
Результат System.IO.DirectoryInfo
        public static DirectoryInfo CreateFolder(String path)
        {
            try
            {
                return Directory.CreateDirectory(path);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message + " >" + ex.StackTrace);
                return null;
            }
       }