首页 > 代码库 > C#删除图片问题

C#删除图片问题

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