读取文本文件的最快方法是什么?
var filestream = new System.IO.FileStream(textFilePath,
System.IO.FileMode.Open,
System.IO.FileAccess.Read,
System.IO.FileShare.ReadWrite);var file = new System.IO.StreamReader(filestream, System.Text.Encoding.UTF8, true, 128);
while ((lineOfText = file.ReadLine()) != null){
//Do something with the lineOfText}
慕容3067478
开心每一天1111
随时随地看视频慕课网APP