Answers for "C# how to remove an image in a folder"

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 "C# how to remove an image in a folder"

C# Answers by Framework

Browse Popular Code Answers by Language