Answers for "delete image from folder using c#"

C#
1

C# how to remove an image in a folder

var filePath = Server.MapPath("~/Images/" + filename);
if(File.Exists(filePath))
{
    File.Delete(filePath);
}
Posted by: Guest on July-27-2020

Code answers related to "delete image from folder using c#"

C# Answers by Framework

Browse Popular Code Answers by Language