rename files 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");