Implementing ISerializable interface enables us to control how an object is serialized. In the other words, we can serialize an object to xml to reprst in the exact format we require.
In web services development, we also sometimes need to have full control over the way an object is serialized and passed over the network.
Have a look at this example.
No comments:
Post a Comment