How to serialize an object into the other one?

M

Maxwell2006

Hi,

I have two different classes that are created from the same xsd file by
using xsd.exe.

How can I serialize the instance of the 1st class into an instance of the
second one?

Thank you,
Max
 
A

Andy

Don't think you can, as deserialization creates a new instance on its
own. The best you could do is copy the values from one to the other.

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top