📅  最后修改于: 2022-03-11 14:48:45.948000             🧑  作者: Mango
代码示例1
var lines = System.IO.File.ReadAllLines("...");
System.IO.File.WriteAllLines("...", lines.Take(lines.Length - 1).ToArray());