コード例 #1
0
 private void DeleteOldPictures()
 {
     FileModification.DelteFileIfExists($"{_oldImagePath}.jpg");
     FileModification.DelteFileIfExists($"{_oldImagePath}.jpeg");
     FileModification.DelteFileIfExists($"{_oldImagePath}.gif");
     FileModification.DelteFileIfExists($"{_oldImagePath}.bmp");
     FileModification.DelteFileIfExists($"{_oldImagePath}.png");
 }