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