FolderManagement.FileStorageService.CreateDirectoryIfNotExists C# (CSharp) Method

CreateDirectoryIfNotExists() private static method

private static CreateDirectoryIfNotExists ( string dir ) : void
dir string
return void
        private static void CreateDirectoryIfNotExists(string dir)
        {
            if (!Directory.Exists(dir))
            {
                Directory.CreateDirectory(dir);
            }
        }