public static void Execute(StorageFolder device) { Console.WriteLine($"== Scenario8_DeleteFIlesAndFolders =="); // This sample demonstrates how to delete all folders and files at a location( whole folder tree ) // The deletes the folders & files from Scenario5 & Scenario6 try { StorageFolder folder11 = device.GetFolder("Folder11"); // Delete contents of Folder11 DeleteFolderTreeHelper(folder11); // Delete Folder11 folder11.Delete(); } catch (Exception ex) { Console.WriteLine($"ERROR: deleting folders & files : {ex.Message}"); } }