Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Search Your Question

Monday, May 5, 2008

Why do you need to serialize.?

We need to serialize the object, if we want to pass object from one computer/application domain to another. or if we want to convert an object into stream of bytes that can be persisted or transported.

Namespace for serialization is System.Runtime.Serialization.

The ISerializable interface allows you to make any class Serializable.

NET framework provides 2 serializing method.

1.Binary Serialization
2.XML Serialization

No comments:

Archives