I have kept this code for deletion
StorageFile file = Task.Run(async () => await StorageFile.GetFileFromPathAsync(path)).Result;
Task.Run(async () => await file.DeleteAsync()).GetAwaiter().GetResult();
Please note that the app is crashing after some duration.
I have actually kept Progress ring but when you minimize and open back it crashes after some time
Is there any Files limit for deletion in UWP at a time???????