Skip to content

Instantly share code, notes, and snippets.

@Char0394
Created June 15, 2017 02:23
Show Gist options
  • Save Char0394/59932baff67a899ee8336b30577734ef to your computer and use it in GitHub Desktop.
Save Char0394/59932baff67a899ee8336b30577734ef to your computer and use it in GitHub Desktop.
void IMediaService.ClearFiles(List<string> filePaths)
{
foreach (var p in filePaths)
{
if (Directory.Exists(p))
{
File.Delete(p);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment