BExIS.IO.FileHelper.Delete C# (CSharp) Method

Delete() public static method

public static Delete ( string file ) : bool
file string
return bool
        public static bool Delete(string file)
        {
            if (File.Exists(file))
            {
                File.Delete(file);

                if (!File.Exists(file)) return true;

            }

            return false;
        }