how to rename a file name in c# code example Example: c# rename file System.IO.File.Move("oldfilename", "newfilename");