2
Answers

buffer = sr.ReadLine().ToCharArray())!=null

examenca

examenca

19y
2.3k
1
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.
Answers (2)