rename file with the last file from another path in c# code example Example: c# rename file System.IO.File.Move("oldfilename", "newfilename");