using System.IO;
///
/// Static methods extending the class.
///
public static class FileExtension
{
///
/// Deletes the specified if it exists.
///
/// The file to delete.
public static void DeleteIfExists(string file)
{
if (File.Exists(file))
{
File.Delete(file);
}
}
}