examenca

examenca

  • NA
  • 19
  • 0

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

Jan 25 2005 8:30 PM
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)