📅  最后修改于: 2022-03-11 14:49:20.189000             🧑  作者: Mango
string GetLine(string fileName, int line)
{
using (var sr = new StreamReader(fileName)) {
for (int i = 1; i < line; i++)
sr.ReadLine();
return sr.ReadLine();
}
}