📜  复制文件 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:46.743000             🧑  作者: Mango

代码示例1
using System;
using System.IO;

var source = @"C:\Users\Jano\Documents\words.txt";
var destination = @"C:\Users\Jano\Documents\words_bck.txt";

File.Copy(source, destination);
Console.WriteLine("File copied");