Welcome to W3Courses
 Like Us on Facebook

Local File System

Rename a File on the Disk or Local File System using C#

The following code will rename a file called temp.txt to tempnew.txt

using System.IO;

Share