buffer = sr.ReadLine().ToCharArray())!=null
Hi I have
a Char buffer = new Char[1024]
and i'm using StreamReader sr to read from a NetWorkStream.
when launching the app it gives me an error at the end.
while((buffer = sr.ReadLine().ToCharArray())!=null)
{
Console.WriteLine(buffer);
}
So basically i'm trying to print the information that is i'm receiving through the socket.
Please help!
Thanx.