对记事本文件的读写c# 1.Readtxt publicstaticstring[]ReadTxt(stringsPath,stringsFileName) { stringtxtPath=sPath+"\\"+sFileName; StreamReadertextFile=null; if(File.Exists(txtPath)) { textFile=newStreamReader(txtPath,Encoding.GetEncoding("gb2312")); } string[]result; if(textFile!