<分区>
Possible Duplicate:
Easiest way to split a string on newlines in .net?
我试图读出并解释每行一行字符串。我看了一下 StringReader 类,但我需要找出我在最后一行的时间。这是我要完成的一些伪代码:
while (!stringReaderObject.atEndOfStream()) {
interpret(stringReaderObject.readLine());
}
有人知道怎么做吗?
谢谢!
伊万