how to rename filename into a new file namein c# code example
Example 1: c# rename file
System.IO.File.Move("oldfilename", "newfilename");
Example 2: c# rename file add
File.Move("NameToBeRename.jpg","NewName.jpg");
System.IO.File.Move("oldfilename", "newfilename");
File.Move("NameToBeRename.jpg","NewName.jpg");