how to rename file name into a new file name after receiving a file in 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");