StreamReader.ReadLine()返回Nothing

时间:2013-05-05 14:14:52

标签: vb.net streamreader

我正在写一个“自我训练”的TCP客户端,一切正常,直到现在,我想知道如果我收到Nothing字符串意味着什么?

Dim sr As IO.StreamReader = New IO.StreamReader(MyTcp.WorkStream, System.Text.Encoding.ASCII)
        Dim line As String = sr.ReadLine()

0 个答案:

没有答案