ApplicationSettingsTests.TestHelpers.DeleteIfExists C# (CSharp) Method

DeleteIfExists() public static method

public static DeleteIfExists ( string fullPathToFile ) : void
fullPathToFile string
return void
        public static void DeleteIfExists(string fullPathToFile)
        {
            if (System.IO.File.Exists(fullPathToFile))
            {
                System.IO.File.Delete(fullPathToFile);
            }
        }