Hi, I'm pretty new to C#.
Basically, I have created objects of my own class and need to send said objects from the server to the client on a network (using either a StreamReader/Writer or a BinaryReader/Writer - unless there are better ways?).
I tried using the writer.Write(object) method of the StreamWriter class and that *seemed* be work alright, but I can't get the client to receive the object.
There seems to be no reader.Read*(object) method of the StreamReader or BinaryReader classes.
Do I have to convert the object to another form (byte, string etc) and if so, what is the best way of doing that?
Any help would be greatly appreciated.
Thanks