Wednesday, April 1, 2009

What is the use of serializable? Give Example

What is the use of serializable? Give Example
Marking a class with the key word [Serializable] at the top ensures that the object can be serialized in an XML format primarily for data exchange between disparate systems.
Example
[Serializable]
public class clsClass
{
public clsClass()
{

}
}

1 comment:

  1. Cool that is the Simplest explanation i have ever seen. That is Cool

    Vuyiswa Maseko

    ReplyDelete