I have a List<Animal>
that i want to send as a SOAP response to the client but the send method requires byte[]
and deserialize in the client.
Can anyone tell me how to convert my List<Animal>
to byte[]
and convert the byte[]
back to the List<Animal>
.
I know there is lots of questions like this in this site, but I am confuse with the answers. I tried a lot of them but none of the worked for me.