62,243
社区成员




System.IO.StreamReader sr = System.IO.File.OpenText("D:/a.txt");
String input;
System.Collections.ArrayList al = new System.Collections.ArrayList();
while ((input = sr.ReadLine()) != null)
{
al.Add(input);
}
string[] ary = new string[al.Count];
al.CopyTo(ary);
StreamReader sr=new StreamReader(路径);
string strLine = sr.ReadLine();
while(strLine!= null)
{
strLine = sr.ReadLine();
}