Program
using System;
using System.IO;
namespace ConsoleApplication1
{
class Program
{
static void Main()
{
File.Move("source/ABC.TXT", "dest/XYZ.TXT");
Console.WriteLine("File moved successfully");
}
}
}
Output
File moved successfully