T
Tim Wallace
I have an array of bytes I read from a TcpClient. I need to pass that byte
array in to the constructor of an object. My code compiles, but when run, I
get a message stating: System.NullReferenceException: Object reference not
set to an instance of an object. There is data stored in the byte[], I
checked using Length. How can I pass a byte array to a method, constructor
or otherwise?
Tim
array in to the constructor of an object. My code compiles, but when run, I
get a message stating: System.NullReferenceException: Object reference not
set to an instance of an object. There is data stored in the byte[], I
checked using Length. How can I pass a byte array to a method, constructor
or otherwise?
Tim