public static void MoveWithReplace(string sourceFileName, string destFileName) { if (File.Exists(destFileName)) { File.Delete(destFileName); } File.Move(sourceFileName, destFileName); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)