WPF读写文件

一、利用StreamReader 与 StreamWriter读写文件 1.读文件 1 StreamReader sr = new StreamReader(@"D:\JointIn.txt"); 2 string sLine = ""; 3 while(!sr.EndOfStream) 4 { 5
posted @ 2022-09-09 15:17  LXLR  阅读(632)  评论(0编辑  收藏  举报