EpLibrary.cs.FolderHelper.DeleteFolder C# (CSharp) Method

DeleteFolder() public static method

Delete given folder path from file system
public static DeleteFolder ( String path ) : void
path String the file path to delete
return void
        public static void DeleteFolder(String path)
        {
            try
            {
                Directory.Delete(path, true);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message + " >" + ex.StackTrace);
            } 
        }