Using serialisation can anyone tell me how i can use it to work out what
object was serialised?
For example i have a class Ball and another class Bat.
i serialise the first class Ball and send it over the wire via sockets.
The receiving end receives the data and deserialises. But how do i know
after deserialising it to an object whether the Ball object was sent across
or the Bat object was sent across?
c# code please