How to delete a folder asynchronously
I would use the Task Parallel Library:
Task.Factory.StartNew(path => Directory.Delete((string)path, true), fullPath);
I would use the Task Parallel Library:
Task.Factory.StartNew(path => Directory.Delete((string)path, true), fullPath);