标签:filesystemwatcher

  • 如何连续读取文本文件 - c#

    时间:2020-8-24

    我有一个文本文件,每次都会从服务器数据中进行更新。现在根据我的要求,我必须连续地逐行读取此文件。我知道如何逐行读取文件,但不能连续读取这是我的C#代码逐行读取文件... if (System.IO.File.Exists(FileToCopy) == true) { using (StreamReader reader = new StreamReader( […]