using (System.IO.StreamReader sr = new System.IO.StreamReader("my.txt")) { string line; while ((line = sr.ReadLine()) != null) { //todo } }
110,571
社区成员
642,568
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧