C#删除图片问题

        public Image GetImage(string path)
{
FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read);
Image result = Image.FromStream(fs);
fs.Close();
return result;
}

你可能感兴趣的:(C#)