System.IO.File.Delete throws "The process cannot access the file because it is being used by another process" – Asp.net
Every time I save a file and delete it right away using the function below, I keep getting this error message: "System.IO.IOException: The process cannot access the file because it is being used by another process". Waiting for a couple…