C# 文件流 streamreader如何读取文本指定行的数据?

2025-03-25 06:30:08
推荐回答(1个)
回答1:

这里你只要判断一下 你的index是不是大于0就好了,
if(index=0)
{
temp=sr.ReadLine();
}