StringReader sr=new StringReader(textbox.Text);
string l;
while((l=sr.ReadLine())!=null)
{
//process the line
}不管是换行还是回车,应该都能读出来
string l;
while((l=sr.ReadLine())!=null)
{
//process the line
}不管是换行还是回车,应该都能读出来
char[] cSplit=new char[1];
cSplit[0]='\r';
string[] strTextLine=strText.Split(cSplit);
然后就是数组的使用了。